Skip to content

Commit

Permalink
Simplify the publish CI to do "just publish"
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jul 31, 2024
1 parent 8ed836d commit 6089897
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,13 @@ name: Publish
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+[a-z]+"
- "v[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+dev[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+*"

permissions:
contents: read

jobs:
pre-commit:
uses: ./.github/workflows/step_pre-commit.yml

test-pip:
needs: [ pre-commit ]
uses: ./.github/workflows/step_tests-pip.yml
with:
coverage: false

test-conda:
needs: [ pre-commit ]
uses: ./.github/workflows/step_tests-conda.yml
with:
coverage: false

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

test-status:
needs: [ pre-commit, test-pip, test-conda, test-ui ]
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@release/v1
with:
allowed-skips: pre-commit, test-pip, test-conda, test-ui
jobs: ${{ toJSON(needs) }}
if: always()

build:
needs: [ test-status ]
uses: ./.github/workflows/step_build.yml

publish:
Expand Down

0 comments on commit 6089897

Please sign in to comment.