feat: implement SANs for X.509 certificates #61
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 --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 |