Skip to content

Commit

Permalink
Add status job that can be used as a required check for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Oct 31, 2022
1 parent fc1f5fe commit 4ad653b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ jobs:
- name: Test
run: ./ci/test.sh

# This job can be used as a required status for Pull Requests
status:
runs-on: ubuntu-latest
timeout-minutes: 2
name: Status
needs:
- precommit
- test_omero
steps:
- name: Status
run: |
echo "precommit: ${{ needs.precommit.result }}"
echo "test_omero: ${{ needs.test_omero.result }}"
publish:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 4ad653b

Please sign in to comment.