Skip to content

enabling merge queues #30

enabling merge queues

enabling merge queues #30

name: Orchestrator Unit Tests
on:
pull_request:
merge_group:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Path filtering
uses: dorny/paths-filter@v2
id: changes
with:
base: ${{ github.event.merge_group.base_ref}}
ref: ${{ github.event.merge_group.head_ref }}
filters: |
orchestrator:
- "orchestrator/**"
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # actions/[email protected]
- name: setup python environment
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # actions/[email protected]
with:
python-version: "3.9"
architecture: "x64"
- name: Install Test Dependencies
run: |
pip install --upgrade pipenv wheel
- name: Run orchestrator tests
run: |
make -C orchestrator unit-test ENV=example