Skip to content

Commit

Permalink
chore: run tests only if required
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed May 29, 2024
1 parent 0b6f657 commit 4529728
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types:
- opened
- synchronize
paths:
- faststream/**
- tests/**
- docs/docs_src/**

jobs:
static_analysis:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ permissions:

jobs:
smokeshow:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
Expand All @@ -22,7 +21,7 @@ jobs:

- uses: dawidd6/[email protected] # nosemgrep
with:
workflow: test_pr.yaml
workflow: pr_tests.yaml
commit: ${{ github.event.workflow_run.head_sha }}

- run: smokeshow upload coverage-html
Expand Down

0 comments on commit 4529728

Please sign in to comment.