Skip to content

Commit

Permalink
[#513] update oas-check CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonny Bakker committed Jan 9, 2025
1 parent 1c5f6e5 commit 8f580d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/oas-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ on:
jobs:
open-api-workflow-check-oas:
uses: maykinmedia/open-api-workflows/.github/workflows/oas-check.yml@v1
strategy:
matrix:
version:
- v1
- v2
with:
schema-path: 'src/objects/api/v2/openapi.yaml'
schema-command: 'spectacular --validate --api-version ${{ matrix.version }}'
schema-path: 'src/objects/api/${{ matrix.version }}/openapi.yaml'
python-version: '3.11'
django-settings-module: 'objects.conf.ci'
apt-packages: 'libgdal-dev gdal-bin'

0 comments on commit 8f580d0

Please sign in to comment.