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

Debug safari #3

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
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
111 changes: 4 additions & 107 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,116 +12,13 @@ on:
- cron: '0 4 * * 5' # Fridays at 4am

jobs:
test:
name: Tests
runs-on: ubuntu-latest
test-safari:
name: Test Safari
runs-on: macos-latest
steps:
- name: Checkout code
uses: wyvox/action@v1
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:ember

test-no-lock:
name: Floating Dependencies
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Checkout code
uses: wyvox/action@v1
with:
pnpm-args: --no-lockfile
- name: Test
run: pnpm test:ember

test-try:
name: Scenario ${{ matrix.scenario }}, BS${{ matrix.bootstrap }}, ${{ matrix.browser}}
runs-on: ubuntu-latest
timeout-minutes: 10
continue-on-error: ${{ matrix.allow-failure || false }}
needs:
- test
strategy:
fail-fast: false
matrix:
allow-failure:
- false
scenario:
- ember-lts-4.8
- ember-lts-5.4
- ember-release
- ember-beta
- ember-canary
- embroider-safe
- embroider-optimized
bootstrap:
- 4
- 5
browser:
- Chrome
include:
- scenario: ember-release
browser: Firefox
bootstrap: 4
- scenario: ember-release
browser: Firefox
bootstrap: 5
- scenario: node-tests
- scenario: tracked-toolbox-v1
bootstrap: 5
steps:
- name: Checkout code
uses: wyvox/action@v1
- name: Test
run: pnpm ember try:one ${{ matrix.scenario }}
env:
BOOTSTRAPVERSION: ${{ matrix.bootstrap }}
BROWSER: ${{ matrix.browser }}

test-docs:
name: Docs
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Checkout code
uses: wyvox/action@v1
- name: Checkout code
working-directory: docs
run: pnpm install
- name: Run Ember Tests
run: pnpm test
working-directory: docs
- name: Build including API docs
run: pnpm run docs:build
# TODO: Perform some basic steps that the build contains API docs
# and works as expected.

# test-browserstack:
# name: Browserstack Tests
# runs-on: ubuntu-latest
# needs:
# - test
# env:
# BROWSERSTACK_USERNAME: simonihmig1
# BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Setup node.js
# uses: actions/setup-node@v1
# with:
# node-version: 12
# - name: Install dependencies
# uses: bahmutov/npm-install@v1
# - name: Connect to Browserstack
# run: yarn ember browserstack:connect
# - name: Test
# run: yarn ember test --filter !FastBoot --config-file testem.browserstack.js
# env:
# BABELPOLYFILL: true
# - name: Disconnect from Browserstack
# if: always()
# run: yarn ember browserstack:disconnect
run: pnpm test:ember --config-file testem.safari.js
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
"ember-cli": "5.5.0",
"ember-cli-app-version": "6.0.1",
"ember-cli-blueprint-test-helpers": "0.19.2",
"ember-cli-browserstack": "2.0.1",
"ember-cli-content-security-policy": "2.0.3",
"ember-cli-dependency-checker": "3.3.2",
"ember-cli-fastboot": "4.1.2",
Expand Down
131 changes: 0 additions & 131 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading