Show QA actions on changes_acceptance #27
Workflow file for this run
This file contains 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
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 |