Skip to content

Commit

Permalink
chore(github): update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-gricourt committed Nov 2, 2023
1 parent 880f4c0 commit 044274b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ jobs:
run: pip install flake8 flake8-import-order
- name: Flake8
run: echo '${{ needs.setup.outputs.repository-list }}' | xargs -d '\n' flake8 --output-file pylint_report.txt --tee
- name: Test
run: echo 'Repository list: ${{ needs.setup.outputs.repository-list }}'
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
Expand Down Expand Up @@ -274,7 +276,7 @@ jobs:
test:
name: Test tools
needs: setup
if: ${{ needs.setup.outputs.repository-list != '' }}
if: ${{ needs.setup.outputs.repository-list != '' && github.event.pull_request.merged == false }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -340,7 +342,7 @@ jobs:
combine_outputs:
name: Combine chunked test results
needs: [setup, test]
if: ${{ always() && needs.setup.outputs.repository-list != '' }}
if: ${{ needs.setup.outputs.repository-list != '' && github.event.pull_request.merged == false }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 044274b

Please sign in to comment.