Skip to content

Commit

Permalink
test V6 RN updates
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mcafee committed Sep 5, 2024
1 parent 925d248 commit 2f45bff
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 31 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/callable-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,28 @@ jobs:
integ-config-headless: ${{ steps.load_config.outputs.INTEG_CONFIG_HEADLESS }}
detox-integ-config: ${{ steps.load_config.outputs.DETOX_INTEG_CONFIG }}

e2e-test-runner:
name: E2E test runnner
needs: e2e-prep
secrets: inherit
strategy:
matrix:
integ-config: ${{ fromJson(needs.e2e-prep.outputs.integ-config) }}
fail-fast: false
uses: ./.github/workflows/callable-e2e-test.yml
with:
test_name: ${{ matrix.integ-config.test_name }}
framework: ${{ matrix.integ-config.framework }}
category: ${{ matrix.integ-config.category }}
spec: ${{ matrix.integ-config.spec || '' }}
amplifyjs_dir: ${{ matrix.integ-config.amplifyjs_dir || false }}
sample_name: ${{ toJSON(matrix.integ-config.sample_name) || '[""]' }}
browser: ${{ toJSON(matrix.integ-config.browser) || '[""]' }}
backend: ${{ matrix.integ-config.backend }}
timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
retry_count: ${{ matrix.integ-config.retry_count || 3 }}
yarn_script: ${{ matrix.integ-config.yarn_script || '' }}
# TEMP:
# e2e-test-runner:
# name: E2E test runnner
# needs: e2e-prep
# secrets: inherit
# strategy:
# matrix:
# integ-config: ${{ fromJson(needs.e2e-prep.outputs.integ-config) }}
# fail-fast: false
# uses: ./.github/workflows/callable-e2e-test.yml
# with:
# test_name: ${{ matrix.integ-config.test_name }}
# framework: ${{ matrix.integ-config.framework }}
# category: ${{ matrix.integ-config.category }}
# spec: ${{ matrix.integ-config.spec || '' }}
# amplifyjs_dir: ${{ matrix.integ-config.amplifyjs_dir || false }}
# sample_name: ${{ toJSON(matrix.integ-config.sample_name) || '[""]' }}
# browser: ${{ toJSON(matrix.integ-config.browser) || '[""]' }}
# backend: ${{ matrix.integ-config.backend }}
# timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
# retry_count: ${{ matrix.integ-config.retry_count || 3 }}
# yarn_script: ${{ matrix.integ-config.yarn_script || '' }}

# e2e-test-runner-headless:
# name: E2E test runnner_headless
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/push-preid-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
branches:
# Change this to your branch name where "example-preid" corresponds to the preid you want your changes released on
- feat/example-preid-branch/main
- fix-detox-sample

jobs:
e2e:
Expand All @@ -26,13 +27,14 @@ jobs:
outputs:
preid: ${{ steps.output_preid.outputs.preid }}

preid-release:
needs:
- e2e
- parse-preid
secrets: inherit
uses: ./.github/workflows/callable-npm-publish-preid.yml
# The preid should be detected from the branch name recommending feat/{PREID}/whatever as branch naming pattern
# if your branch doesn't follow this pattern, you can override it here for your branch.
with:
preid: ${{ needs.parse-preid.outputs.preid }}
# TEMP:
# preid-release:
# needs:
# - e2e
# - parse-preid
# secrets: inherit
# uses: ./.github/workflows/callable-npm-publish-preid.yml
# # The preid should be detected from the branch name recommending feat/{PREID}/whatever as branch naming pattern
# # if your branch doesn't follow this pattern, you can override it here for your branch.
# with:
# preid: ${{ needs.parse-preid.outputs.preid }}

0 comments on commit 2f45bff

Please sign in to comment.