Skip to content

Commit

Permalink
Update publish.yml following ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jan 12, 2024
1 parent bbe2791 commit 5ceab05
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,36 @@ jobs:
pre-commit:
uses: ./.github/workflows/step_pre-commit.yml

codeql:
static-analysis:
needs: [ pre-commit ]
uses: ./.github/workflows/step_static-analysis.yml
permissions:
contents: read
security-events: write

test-pip:
needs: [ codeql ]
needs: [ pre-commit ]
uses: ./.github/workflows/step_tests-pip.yml
with:
coverage: ${{ github.event_name != 'schedule' }}

test-unit-functional-integration:
needs: [ codeql ]
uses: ./.github/workflows/step_test_unit_functional.yml
coverage:
needs: [ test-pip ]
uses: ./.github/workflows/step_coverage.yml
if: github.event_name != 'schedule'

test-conda:
needs: [ codeql ]
needs: [ test-pip ]
uses: ./.github/workflows/step_tests-conda.yml
with:
coverage: ${{ github.event_name != 'schedule' }}

test-ui:
needs: [ codeql ]
needs: [ test-pip ]
uses: ./.github/workflows/step_tests-ui.yml

build:
needs: [ test-pip, test-conda, test-unit-functional-integration, test-ui ]
needs: [ test-pip, test-conda, test-ui ]
uses: ./.github/workflows/step_build.yml

publish:
Expand Down

0 comments on commit 5ceab05

Please sign in to comment.