1
0

ci-python.yml 548 B

12345678910111213141516171819202122232425
  1. name: python
  2. on:
  3. push:
  4. branches:
  5. - main
  6. pull_request:
  7. jobs:
  8. build:
  9. name: test
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v4
  13. - uses: actions/setup-go@v5
  14. with:
  15. go-version: '1.21.3'
  16. - name: install ./...
  17. run: go install ./...
  18. - uses: actions/checkout@v4
  19. with:
  20. repository: sqlc-dev/sqlc-gen-python
  21. path: python
  22. - run: make test
  23. working-directory: python
  24. - run: sqlc diff
  25. working-directory: python/examples