Skip to content

Commit

Permalink
wip: disabel unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Samaritan1011001 committed Feb 4, 2025
1 parent 5685ef3 commit 6468a3d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
22 changes: 11 additions & 11 deletions .github/integ-config/integ-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1000,14 +1000,14 @@ tests:
# browser: *minimal_browser_list
# env:
# NEXT_PUBLIC_BACKEND_CONFIG: pwl-misc
- test_name: integ_next_passwordless_webauthn
desc: 'passwordless webauthn sign in and lifecycle management'
framework: next
category: auth
sample_name: [mfa]
spec: passwordless/webauthn
# chrome only
# https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn/
browser: [chrome]
env:
NEXT_PUBLIC_BACKEND_CONFIG: pwl-webauthn
# - test_name: integ_next_passwordless_webauthn
# desc: 'passwordless webauthn sign in and lifecycle management'
# framework: next
# category: auth
# sample_name: [mfa]
# spec: passwordless/webauthn
# # chrome only
# # https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn/
# browser: [chrome]
# env:
# NEXT_PUBLIC_BACKEND_CONFIG: pwl-webauthn
40 changes: 20 additions & 20 deletions .github/workflows/callable-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ on: workflow_call
jobs:
get-package-list:
uses: ./.github/workflows/callable-get-package-list.yml
unit_test:
name: Unit Test - ${{ matrix.package.name }}
runs-on: ubuntu-latest
needs: get-package-list
strategy:
matrix:
package: ${{ fromJSON(needs.get-package-list.outputs.packages) }}
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
path: amplify-js
- name: Setup node and build the repository
uses: ./amplify-js/.github/actions/node-and-build
- name: Run tests
working-directory: ./amplify-js
env:
TEST_PACKAGE: ${{ matrix.package.name }}
run: npx lerna exec --scope $TEST_PACKAGE yarn test
# unit_test:
# name: Unit Test - ${{ matrix.package.name }}
# runs-on: ubuntu-latest
# needs: get-package-list
# strategy:
# matrix:
# package: ${{ fromJSON(needs.get-package-list.outputs.packages) }}
# fail-fast: false
# steps:
# - name: Checkout repository
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# with:
# path: amplify-js
# - name: Setup node and build the repository
# uses: ./amplify-js/.github/actions/node-and-build
# - name: Run tests
# working-directory: ./amplify-js
# env:
# TEST_PACKAGE: ${{ matrix.package.name }}
# run: npx lerna exec --scope $TEST_PACKAGE yarn test
# disable temporarily
# - name: Check coverage report existence
# id: check-report
Expand Down

0 comments on commit 6468a3d

Please sign in to comment.