Skip to content

Commit

Permalink
reduce test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Feb 22, 2024
1 parent c907dc0 commit 82ecf35
Showing 1 changed file with 2 additions and 37 deletions.
39 changes: 2 additions & 37 deletions .github/workflows/tests_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,29 +186,6 @@ jobs:
runs-on: ubuntu-latest
env:
DATABASE_URL: file:./test.db
strategy:
matrix:
test:
[
'auth.test.ts',
'custom-admin-ui-logo.test.ts',
'custom-admin-ui-navigation.test.ts',
'custom-admin-ui-pages.test.ts',
'custom-field-view.test.ts',
'custom-field.test.ts',
'default-values.test.ts',
'document-field.test.ts',
'extend-express-app.test.ts',
'extend-graphql-schema-graphql-tools.test.ts',
'extend-graphql-schema-graphql-ts.test.ts',
'extend-graphql-schema-nexus.test.ts',
'testing.test.ts',
'usecase-blog.test.ts',
'usecase-roles.test.ts',
'usecase-todo.test.ts',
'virtual-field.test.ts',
]
fail-fast: false
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup-examples
Expand All @@ -220,25 +197,13 @@ jobs:
run: cd tests/examples-smoke-tests && pnpm playwright install chromium

- name: Unit tests
run: pnpm jest --ci tests/examples-smoke-tests/${{ matrix.test }}
run: pnpm jest --ci tests/examples-smoke-tests/

admin_ui_integration_tests:
name: Integration tests for Admin UI
runs-on: ubuntu-latest
env:
DATABASE_URL: file:./test.db
strategy:
matrix:
test:
[
'init.test.ts',
'filters.test.ts',
'list-view-crud.test.ts',
'navigation.test.ts',
'live-reloading.test.ts',
'relations.test.ts',
]
fail-fast: false
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup-examples
Expand All @@ -250,4 +215,4 @@ jobs:
run: cd tests/admin-ui-tests && pnpm playwright install chromium

- name: Unit tests
run: pnpm jest --ci --runInBand tests/admin-ui-tests/${{ matrix.test }}
run: pnpm jest --ci --runInBand tests/admin-ui-tests/

0 comments on commit 82ecf35

Please sign in to comment.