🐙 chore: enhance CI/CD, versioning, and testing setup #3
This file contains hidden or 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/CD | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: {} | |
| jobs: | |
| tests: | |
| name: Run full test suite | |
| uses: ./.github/workflows/1_tests.yml | |
| permissions: | |
| contents: read | |
| actions: write # reusable workflow uploads artifacts | |
| release: | |
| name: Release Python Package and Docker Image | |
| needs: tests | |
| if: success() | |
| uses: ./.github/workflows/2_release.yml | |
| with: | |
| publish: 'true' # change to 'false' if you only want to build without publishing | |
| secrets: inherit | |
| permissions: | |
| id-token: write | |
| contents: write | |
| packages: write |