Add conclusion step to be used as required check.
This commit is contained in:
parent
fb59f6a12c
commit
7ab22826b2
31
.github/workflows/tests.yml
vendored
31
.github/workflows/tests.yml
vendored
@ -105,15 +105,18 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
more-tests-and-syntax:
|
tap-syntax:
|
||||||
|
name: ${{ matrix.name }}
|
||||||
needs: syntax
|
needs: syntax
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- name: tap syntax (Linux)
|
||||||
|
os: ubuntu-latest
|
||||||
core-tap: "linuxbrew-core"
|
core-tap: "linuxbrew-core"
|
||||||
- os: macos-11.0
|
- name: tap syntax (macOS)
|
||||||
|
os: macos-11.0
|
||||||
core-tap: "homebrew-core"
|
core-tap: "homebrew-core"
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Homebrew
|
- name: Set up Homebrew
|
||||||
@ -208,14 +211,17 @@ jobs:
|
|||||||
docker tag brew "homebrew/ubuntu16.04:master"
|
docker tag brew "homebrew/ubuntu16.04:master"
|
||||||
docker push "homebrew/ubuntu16.04:master"
|
docker push "homebrew/ubuntu16.04:master"
|
||||||
|
|
||||||
test-bot-default-formula:
|
test-default-formula:
|
||||||
|
name: ${{ matrix.name }}
|
||||||
needs: syntax
|
needs: syntax
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
include:
|
||||||
- ubuntu-latest
|
- name: test default formula (Linux)
|
||||||
- macos-11.0
|
os: ubuntu-latest
|
||||||
|
- name: test default formula (macOS)
|
||||||
|
os: macos-11.0
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Homebrew
|
- name: Set up Homebrew
|
||||||
id: set-up-homebrew
|
id: set-up-homebrew
|
||||||
@ -228,3 +234,14 @@ jobs:
|
|||||||
- run: brew test-bot --only-cleanup-before
|
- run: brew test-bot --only-cleanup-before
|
||||||
|
|
||||||
- run: brew test-bot --only-formulae --test-default-formula
|
- run: brew test-bot --only-formulae --test-default-formula
|
||||||
|
|
||||||
|
conclusion:
|
||||||
|
needs:
|
||||||
|
- syntax
|
||||||
|
- tap-syntax
|
||||||
|
- tests
|
||||||
|
- docker
|
||||||
|
- test-default-formula
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user