debian-forge-cli/.github/workflows/pytest.yml
Michael Vogt cc4a730381 github: add new pytest based integration test run workflow
This commit adds a new workflow that runs the new `pytest` based
integration tests inside GH actions. It also extracts a common
`testdeps.yml` reusable workflow so that we do not duplicate the
package list of test dependencies.
2024-12-19 08:49:26 +00:00

24 lines
487 B
YAML

name: Integration tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
uses: ./.github/workflows/testdeps.yml
steps:
- uses: actions/checkout@v4
- name: Install integration test env
run: |
sudo apt update
sudo apt install -y pytest golang
- name: Run integration tests via pytest
run: |
# use "-s" for now for easier debugging
sudo pytest -s -v