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

migrate BrowserStack tests from TravisCI to GitHub Actions #467

Merged
merged 2 commits into from
Oct 27, 2020
Merged
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
35 changes: 33 additions & 2 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Run tests
run: yarn test:csp-header
test-chrome:
name: test in chromium
name: test against Chrome
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -81,7 +81,7 @@ jobs:
- name: run tests in chrome
run: yarn test:ember --launch Chrome --path dist
test-firefox:
name: test in firefox
name: test against Firefox
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -98,6 +98,37 @@ jobs:
run: yarn build --environment test
- name: run tests in firefox
run: yarn test:ember --launch Firefox --path dist
test-browserstack:
name: test against additional browser in BrowserStack
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install node modules
run: yarn install
- name: Build with test environment
env:
CI: true
run: yarn build --environment test
- name: 'BrowserStack Env Setup'
uses: 'browserstack/github-actions/setup-env@master'
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
- name: 'Start BrowserStackLocal Tunnel'
uses: 'browserstack/github-actions/setup-local@master'
with:
local-testing: 'start'
local-logging-level: 'all-logs'
local-identifier: 'random'
- name: 'Running test on BrowserStack'
run: yarn test:ember --config-file testem.browserstack.js --path dist
- name: 'BrowserStackLocal Stop'
uses: browserstack/github-actions/setup-local@master
with:
local-testing: stop
test-backend:
name: Test php backend
runs-on: ubuntu-latest
Expand Down
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.