Add global functions user permissions 🎨 (#7868) #400
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow holds jobs which are required to pass before merging into master | |
name: CI PACT Master | |
on: | |
push: | |
branches: | |
- "master" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pact-tests: | |
timeout-minutes: 10 | |
name: "Run PACT tests" | |
runs-on: ubuntu-latest | |
env: | |
# secrets can be set in settings/secrets on github | |
PACT_BROKER_URL: ${{ secrets.PACT_BROKER_URL }} | |
PACT_BROKER_USERNAME: ${{ secrets.PACT_BROKER_USERNAME }} | |
PACT_BROKER_PASSWORD: ${{ secrets.PACT_BROKER_PASSWORD }} | |
steps: | |
- name: setup python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: install uv | |
uses: astral-sh/setup-uv@v6 | |
with: | |
version: "0.6.x" | |
enable-cache: false | |
- name: checkout source branch | |
uses: actions/checkout@v4 | |
- name: Run pact tests | |
run: | | |
make devenv | |
source .venv/bin/activate | |
cd services/api-server | |
make install-ci | |
make test-pacts |