-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matt Proud
committed
Oct 3, 2023
1 parent
78ca9e6
commit d6a415c
Showing
5 changed files
with
74 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: test-uaa-cli | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-latest: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Install asdf and checkout latest tag | ||
run: | | ||
set -e | ||
if [ -n "$GITHUB_RUN_ID" ]; then | ||
export GITHUB_API_TOKEN="${{ secrets.GITHUB_TOKEN }}" | ||
fi | ||
./tests/setup-env.sh | ||
- name: Test asdf script | ||
run: | | ||
set -e | ||
if [ -n "$GITHUB_RUN_ID" ]; then | ||
export GITHUB_API_TOKEN="${{ secrets.GITHUB_TOKEN }}" | ||
fi | ||
./tests/run-tests.sh tanzu-cli | ||
test-0-6-3: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Manually add plugings to repository | ||
run: | | ||
set -e | ||
export ASDF_LEGACY=true | ||
if [ -n "$GITHUB_RUN_ID" ]; then | ||
export GITHUB_API_TOKEN="${{ secrets.GITHUB_TOKEN }}" | ||
fi | ||
./tests/setup-env.sh | ||
- name: Test plugin | ||
run: | | ||
set -e | ||
export ASDF_LEGACY=true | ||
if [ -n "$GITHUB_RUN_ID" ]; then | ||
export GITHUB_API_TOKEN="${{ secrets.GITHUB_TOKEN }}" | ||
fi | ||
./tests/run-tests.sh tanzu-cli |
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
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
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
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