test: do not hardcode microservices url but set them in env variable … #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v4 | |
- name: ⏬ Install Zenroom | |
run: | | |
wget https://github.com/dyne/zenroom/releases/latest/download/zenroom -O zenroom | |
chmod +x zenroom | |
sudo cp zenroom /usr/local/bin | |
- name: 🧪 Run test | |
run: make test | |
# publish_docker_image: | |
# needs: test | |
# name: 🐳 publish docker image | |
# if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' | |
# permissions: | |
# contents: read | |
# packages: write | |
# uses: interfacerproject/workflows/.github/workflows/publish-ghcr.yml@main | |
# secrets: inherit |