Skip to content

Commit

Permalink
chore: faster
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Dec 8, 2023
1 parent ee207bd commit 44415c2
Showing 1 changed file with 68 additions and 68 deletions.
136 changes: 68 additions & 68 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,77 +16,77 @@ concurrency:
cancel-in-progress: true

jobs:
lint:
name: Lint
runs-on: [ubuntu-latest]
timeout-minutes: 5
# lint:
# name: Lint
# runs-on: [ubuntu-latest]
# timeout-minutes: 5

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Lint
run: pnpm lint
# steps:
# - uses: actions/checkout@v4
# - uses: wyvox/action-setup-pnpm@v3
# with:
# node-version: ${{ env.NODE_VERSION }}
# - name: Lint
# run: pnpm lint

test:
name: Tests
needs: [lint]
runs-on: [ubuntu-latest]
timeout-minutes: 10
# test:
# name: Tests
# needs: [lint]
# runs-on: [ubuntu-latest]
# timeout-minutes: 10

strategy:
fail-fast: false
matrix:
workspace:
- "@projectcaluma/ember-analytics"
- "@projectcaluma/ember-core"
- "@projectcaluma/ember-distribution"
- "@projectcaluma/ember-form"
- "@projectcaluma/ember-form-builder"
- "@projectcaluma/ember-testing"
- "@projectcaluma/ember-workflow"
# strategy:
# fail-fast: false
# matrix:
# workspace:
# - "@projectcaluma/ember-analytics"
# - "@projectcaluma/ember-core"
# - "@projectcaluma/ember-distribution"
# - "@projectcaluma/ember-form"
# - "@projectcaluma/ember-form-builder"
# - "@projectcaluma/ember-testing"
# - "@projectcaluma/ember-workflow"

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Run tests
run: pnpm --filter ${{ matrix.workspace }} test:ember
env:
COVERAGE: true
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
with:
gcov_ignore: "./packages/analytics/"
# steps:
# - uses: actions/checkout@v4
# - uses: wyvox/action-setup-pnpm@v3
# with:
# node-version: ${{ env.NODE_VERSION }}
# - name: Run tests
# run: pnpm --filter ${{ matrix.workspace }} test:ember
# env:
# COVERAGE: true
# - name: Upload coverage report to Codecov
# uses: codecov/codecov-action@v3
# with:
# gcov_ignore: "./packages/analytics/"

test-floating:
name: Floating Tests
needs: [lint]
runs-on: [ubuntu-latest]
timeout-minutes: 10
# test-floating:
# name: Floating Tests
# needs: [lint]
# runs-on: [ubuntu-latest]
# timeout-minutes: 10

strategy:
fail-fast: false
matrix:
workspace:
- "@projectcaluma/ember-analytics"
- "@projectcaluma/ember-core"
- "@projectcaluma/ember-distribution"
- "@projectcaluma/ember-form"
- "@projectcaluma/ember-form-builder"
- "@projectcaluma/ember-testing"
- "@projectcaluma/ember-workflow"
# strategy:
# fail-fast: false
# matrix:
# workspace:
# - "@projectcaluma/ember-analytics"
# - "@projectcaluma/ember-core"
# - "@projectcaluma/ember-distribution"
# - "@projectcaluma/ember-form"
# - "@projectcaluma/ember-form-builder"
# - "@projectcaluma/ember-testing"
# - "@projectcaluma/ember-workflow"

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: ${{ env.NODE_VERSION }}
args: "--no-lockfile"
- name: Run tests
run: pnpm --filter ${{ matrix.workspace }} test:ember
# steps:
# - uses: actions/checkout@v4
# - uses: wyvox/action-setup-pnpm@v3
# with:
# node-version: ${{ env.NODE_VERSION }}
# args: "--no-lockfile"
# - name: Run tests
# run: pnpm --filter ${{ matrix.workspace }} test:ember

# test-browserstack:
# name: Browserstack Tests
Expand Down Expand Up @@ -119,17 +119,17 @@ jobs:

test-compatibility:
name: Compatibility Tests
needs: [lint]
# needs: [lint]
runs-on: [ubuntu-latest]
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
scenario:
- ember-lts-4.8
- ember-lts-4.4
- ember-release
# - ember-lts-4.8
# - ember-lts-4.4
# - ember-release
- embroider-safe
- embroider-optimized
workspace:
Expand Down

0 comments on commit 44415c2

Please sign in to comment.