Skip to content

fix/refactor: service DNS resolving for docker scenarios #57

fix/refactor: service DNS resolving for docker scenarios

fix/refactor: service DNS resolving for docker scenarios #57

Workflow file for this run

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 --force-recreate
- name: Check formatting of sources
run: >-
docker compose exec -t debian ruff format --check .
- name: Lint sources
run: >-
docker compose exec -t debian ruff check .
- name: Run the tests
run: docker compose exec -ti debian pytest -svv --lg-env config/qemu.yaml --junit-xml=/tmp/result.xml