Skip to content

feat: add GitLab build configuration #25

feat: add GitLab build configuration

feat: add GitLab build configuration #25

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
- name: Run the tests
run: docker compose exec -ti debian pytest -svv --lg-env config/qemu.yaml