This commit adds the missing `merge_group` to the pytest and go test workflows. Note that I added `types: [ "checks_requested" ]` (just like we have for the container.yaml) but I'm not actually sure about it, the GH docs are a bit unclear to me here, it seems they suggest to keep this generic but then the example explicitly uses `type` (I'm probably overthinking this fwiw). [1] https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#merge_group
26 lines
537 B
YAML
26 lines
537 B
YAML
name: Integration tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
merge_group:
|
|
types: [ "checks_requested" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
uses: ./.github/workflows/testdeps.yaml
|
|
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
|