Skip to content

Commit

Permalink
Merge pull request #392 from WalletConnect/feat/uitest
Browse files Browse the repository at this point in the history
feat: only run ui test on release
  • Loading branch information
arein authored Aug 2, 2022
2 parents db0f22f + 2dde8a9 commit 45060ca
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,33 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
test-type: [ui-tests, unit-tests, integration-tests, build-example-wallet, build-example-dapp]
test-type: [unit-tests, integration-tests, build-example-wallet, build-example-dapp]

steps:
- uses: actions/checkout@v2

- name: Setup Xcode Version
uses: maxim-lobanov/setup-xcode@v1

- uses: actions/cache@v2
with:
path: |
.build
SourcePackages
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- uses: ./.github/actions/ci
with:
type: ${{ matrix.test-type }}

test-ui:
if: github.ref == 'refs/heads/main'
runs-on: macos-latest
strategy:
matrix:
test-type: [ui-tests]

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 45060ca

Please sign in to comment.