Skip to content

refactor: extrapolate test steps to reuse in other places (#3) #10

refactor: extrapolate test steps to reuse in other places (#3)

refactor: extrapolate test steps to reuse in other places (#3) #10

Workflow file for this run

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