Skip to content

Commit 436bb17

Browse files
committed
added generation opentapi schema to CI/CD
1 parent d010e48 commit 436bb17

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/run_gravyvalet_tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,11 @@ jobs:
7474
POSTGRES_USER: postgres
7575
SECRET_KEY: oh-so-secret
7676
REDIS_HOST: redis://localhost:6379
77+
- name: generate-openapi
78+
#if: github.ref == 'refs/heads/master'
79+
run: poetry run python manage.py openapi
80+
- name: upload-artifact
81+
#if: github.ref == 'refs/heads/master'
82+
uses: actions/upload-artifact@v4
83+
with:
84+
path: 'openapi.yml'

0 commit comments

Comments
 (0)