Skip to content

Show QA actions on changes_acceptance #27

Show QA actions on changes_acceptance

Show QA actions on changes_acceptance #27

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
diff-openapi-spec:
runs-on: ubuntu-latest
steps:
- name: Check out PR branch
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
architecture: 'x64'
- name: Install dependencies
run: |
pip install -e '.[dev]'
npm ci
- name: Generate OpenAPI spec from the application
run: |
cp specs/openreferee.yaml specs/openreferee.old.yaml
npm run api-spec
- name: Check OpenAPI spec for changes
run: diff --color -u specs/openreferee.old.yaml specs/openreferee.yaml