Skip to content

Commit

Permalink
Add special ci dump
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Sep 24, 2024
1 parent 57470bc commit c904f15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
make deps
- name: Dump OpenAPI Schema
run: make dump-openapi
run: make ci-dump-openapi

- name: Check for OpenAPI schema changes
run: |
diff openapi.yaml /tmp/openapi.yaml
diff openapi.yaml tmp/openapi.yaml
shell: bash -euo pipefail {0}

Unit-Test:
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,6 @@ jupyterlab:
dump-openapi:
pipenv run python -c 'from src.utils import dump_openapi_yaml; dump_openapi_yaml("openapi.yaml")'

.PHONY: ci-dump-openapi
ci-dump-openapi:
pipenv run python -c 'from src.utils import dump_openapi_yaml; dump_openapi_yaml("tmp/openapi.yaml")'

0 comments on commit c904f15

Please sign in to comment.