-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR refactors the tests workflow to use `matrix`.
- Loading branch information
Showing
1 changed file
with
15 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,48 +11,20 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
cockroach-test: | ||
name: cockroach formula tests | ||
tests: | ||
strategy: | ||
matrix: | ||
product: | ||
- cockroach | ||
- [email protected] | ||
- [email protected] | ||
- cockroach-sql | ||
- ccloud | ||
name: ${{ matrix.product }} formula tests | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install cockroach formula | ||
run: brew install ./Formula/cockroach.rb | ||
- name: test cockroach formula | ||
run: brew test ./Formula/cockroach.rb | ||
cockroach-231-test: | ||
name: [email protected] formula tests | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install cockroach formula | ||
run: brew install ./Formula/[email protected] | ||
- name: test cockroach formula | ||
run: brew test ./Formula/[email protected] | ||
cockroach-222-test: | ||
name: [email protected] formula tests | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install cockroach formula | ||
run: brew install ./Formula/[email protected] | ||
- name: test cockroach formula | ||
run: brew test ./Formula/[email protected] | ||
cockroach-sql-test: | ||
name: cockroach-sql formula tests | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install cockroach-sql formula | ||
run: brew install ./Formula/cockroach-sql.rb | ||
- name: test cockroach formula | ||
run: brew test ./Formula/cockroach-sql.rb | ||
ccloud-test: | ||
name: ccloud formula tests | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install ccloud formula | ||
run: brew install ./Formula/ccloud.rb | ||
- name: test ccloud formula | ||
run: brew test ./Formula/ccloud.rb | ||
- uses: actions/checkout@v4 | ||
- name: Install ${{ matrix.product }} formula | ||
run: brew install ./Formula/${{matrix.product }}.rb | ||
- name: test ${{ matrix.product }} formula | ||
run: brew test ./Formula/${{ matrix.product }}.rb |