Skip to content

Commit

Permalink
feat: handle parent relationship without belongsTo for GraphQL (#1055)
Browse files Browse the repository at this point in the history
* feat: handle parent relationship without belongsTo for GraphQL

* chore: add upload cypress artifact to check workflow

* fix: conditional statement ordering

* chore: update upload cypress artifact steps
  • Loading branch information
rtpascual authored Aug 1, 2023
1 parent e9d0beb commit af04792
Show file tree
Hide file tree
Showing 11 changed files with 946 additions and 73 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ jobs:
env:
REACT_APP_USER_EMAIL: ${{ secrets.E2E_TEST_USER_EMAIL }}
REACT_APP_USER_PASSWORD: ${{ secrets.E2E_TEST_USER_PASSWORD }}
- name: Upload Cypress videos
if: failure()
uses: actions/upload-artifact@v3
with:
name: cypress-videos
path: /home/runner/work/amplify-codegen-ui/amplify-codegen-ui/e2e-test-app/cypress/videos

functional-tests:
runs-on: ubuntu-latest
Expand All @@ -123,6 +129,12 @@ jobs:
wait-on: 'http://localhost:3000'
wait-on-timeout: 210
config-file: cypress.config.ts
- name: Upload Cypress videos
if: failure()
uses: actions/upload-artifact@v3
with:
name: cypress-videos
path: /home/runner/work/amplify-codegen-ui/amplify-codegen-ui/packages/integration-test/cypress/videos
- name: Check Integ Test Coverage
working-directory: packages/integration-test
run: node cypress/scripts/generateCoverageSummary.mjs
Loading

0 comments on commit af04792

Please sign in to comment.