Skip to content

Commit

Permalink
ci: External PR workflow using correct logic
Browse files Browse the repository at this point in the history
  • Loading branch information
steilerDev committed Jul 10, 2023
1 parent 8597476 commit c715f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/artifacts_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_call:
inputs:
methods:
description: 'An array of test methods that need to be run. Will be read using fromJSON(). Allowed values: ["e2e", "unit"]'
description: 'An array of test methods that need to be run. Will be read using fromJSON(). Allowed values: ["e2e", "unit", "api"]'
required: true
type: string
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/event_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: ./.github/workflows/artifacts_test.yml
permissions: {}
with:
methods: ${{ github.ref_name == 'dev' && '["unit"]' || '["unit", "e2e", "api"]' }}
methods: ${{ (github.ref_name == 'beta' || github.ref_name == 'main') && '["unit", "e2e", "api"]' || '["unit"]' }} # Only running full suite when targeting main or beta
secrets:
test-apple-id-user: ${{ secrets.TEST_APPLE_ID_USER }}
test-apple-id-pwd: ${{ secrets.TEST_APPLE_ID_PWD }}
Expand Down

0 comments on commit c715f59

Please sign in to comment.