Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Removes test runs from release workflows #2908

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 0 additions & 65 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,73 +13,8 @@ permissions:
contents: read

jobs:
unitTest:
name: Components unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run build
- run: npm run test:unit

integTestShards:
name: Components integ tests shard
runs-on: ubuntu-latest
strategy:
matrix:
shard: [1, 2, 3, 4]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run build
- run: npm run test:integ -- --shard=${{ matrix.shard }}/${{ strategy.job-total }}

integTest:
name: Components integ tests
runs-on: ubuntu-latest
needs:
- integTestShards
steps:
- run: echo "Completed all integration tests"

a11yTestShards:
name: Components a11y tests shard
runs-on: ubuntu-latest
strategy:
matrix:
shard: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run build
- run: npm run test:a11y -- --shard=${{ matrix.shard }}/${{ strategy.job-total }}

a11yTest:
name: Components a11y tests
runs-on: ubuntu-latest
needs:
- a11yTestShards
steps:
- run: echo "Completed all a11y tests"

release:
uses: cloudscape-design/actions/.github/workflows/release.yml@main
secrets: inherit
with:
skip-test: true
needs:
- unitTest
- integTest
- a11yTest
Loading