Switch to docker-compose for GitHub actions #7
Workflow file for this run
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
name: Run unit tests | |
on: | |
push: | |
branches: | |
- github_actions # todo: set to main branch before merge | |
jobs: | |
build-and-run-unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build Docker image for library unit tests | |
run: | | |
docker compose run --rm --build arbitration_graphs_test | |
- name: Build Docker image for demo unit tests | |
run: | | |
docker compose -f demo/docker-compose.yaml run --rm --build demo_test | |