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.
24 lines
487 B
YAML
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
|