feat: implement stateful QEMU drivers/strategies #44
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 Tests | |
"on": | |
push: | |
branches: | |
- main | |
- "dev-*" | |
pull_request: | |
branches: | |
- main | |
- "dev-*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: > | |
docker compose build --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --build-arg DOCKER_GID=$(stat -c '%g' /var/run/docker.sock) | |
- name: Create and start the Docker Compose environment | |
run: docker compose up --detach | |
- name: Run the tests | |
run: docker compose exec -ti debian pytest -svv --lg-env config/qemu.yaml --junit-xml=/tmp/result.xml | |