Skip to content

Commit

Permalink
fixed workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
digicosmos86 committed Sep 20, 2024
1 parent f707407 commit c63be6a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@ on:
release:
types:
- published
workflow_run:
workflows:
- "Linting and type checking"
- "Run fast tests"
- "Run slow tests"
types:
- completed

jobs:
lint_and_typecheck:
name: Lint and type-check
uses: ./.github/workflows/linting_and_type_checking.yml

run_fast_tests:
name: Run fast tests
uses: ./.github/workflows/run_fast_tests.yml

run_slow_tests:
name: Run slow tests
uses: ./.github/workflows/run_slow_tests.yml

publish:
name: Build wheel and publish to test-PyPI, and then PyPI, and publish docs
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest

strategy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linting_and_type_checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Linting and type checking

on:
pull_request:
workflow_call:

jobs:
run_tests:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run_fast_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Run fast tests

on:
pull_request:
workflow_call:

jobs:
run_tests:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run_slow_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Run slow tests

on:
pull_request:
workflow_call:

jobs:
run_tests:
Expand Down

0 comments on commit c63be6a

Please sign in to comment.