Re-use analyze-project from the python-actions repo (#160) #148
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'releases/**' | |
| workflow_call: | |
| workflow_dispatch: | |
| jobs: | |
| check_nipanel: | |
| name: Check nipanel | |
| uses: ./.github/workflows/check_nipanel.yml | |
| check_docs: | |
| name: Check docs | |
| uses: ./.github/workflows/check_docs.yml | |
| checks_succeeded: | |
| name: Checks succeeded | |
| needs: [check_nipanel, check_docs] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: exit 0 | |
| run_unit_tests: | |
| name: Run unit tests | |
| uses: ./.github/workflows/run_unit_tests.yml | |
| needs: [checks_succeeded] | |
| report_test_results: | |
| name: Report test results | |
| uses: ./.github/workflows/report_test_results.yml | |
| needs: [run_unit_tests] | |
| if: always() | |
| permissions: | |
| contents: read | |
| checks: write | |
| pull-requests: write |