Skip to content

chore: bump range for @ember/test-helpers to include 5.1 #4672

chore: bump range for @ember/test-helpers to include 5.1

chore: bump range for @ember/test-helpers to include 5.1 #4672

Workflow file for this run

name: Compat
on:
pull_request:
branches:
- main
- v4-main
env:
TURBO_API: http://127.0.0.1:9080
TURBO_TOKEN: this-is-not-a-secret
TURBO_TEAM: myself
concurrency:
group: compat-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
fastboot:
timeout-minutes: 7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: ./.github/actions/setup
with:
restore-broccoli-cache: true
install: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tests
run: pnpm test:fastboot
embroider:
timeout-minutes: 7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: ./.github/actions/setup
with:
restore-broccoli-cache: true
install: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tests
run: pnpm test:embroider
env:
UV_USE_IO_URING: 0
vite:
timeout-minutes: 7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: ./.github/actions/setup
with:
restore-broccoli-cache: true
install: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tests
run: pnpm test:vite
floating-dependencies:
timeout-minutes: 9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: ./.github/actions/setup
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies w/o lockfile
run: pnpm install --no-lockfile
- name: Basic Tests
run: pnpm test
node-version-test:
name: Use Node.js ${{ matrix.node-version }}
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}
restore-broccoli-cache: true
install: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Basic Tests
run: pnpm test
smoke-tests:
name: Smoke ${{ matrix.scenario.name }} w/ ${{ matrix.packageManager }}
timeout-minutes: 10
runs-on: ubuntu-latest
# TODO:
# needs: [embroider, vite]
strategy:
matrix:
packageManager:
- npm
# - yarn # yarn@1 has not been reliable, if yarn@4 were easy to setup, we could test against that
- pnpm
scenario:
- { dir: "dt-types", name: "DT Types" }
- { dir: "native-types", name: "Native Types" }
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: ./.github/actions/setup
with:
restore-broccoli-cache: true
install: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: "Run a basic smoke test with ${{ matrix.packageManager }} and ${{ matrix.kind }} tagging"
run: |
bun ./tests/smoke-tests/run.ts \
"${{ matrix.scenario.dir }}" "${{ matrix.packageManager }}"