Skip to content

Commit

Permalink
ci: run tests against nightly browsers (#2708)
Browse files Browse the repository at this point in the history
* ci: run tests agianst nightly browsers

* install canary

* fix

* use linux version

* try agian

* try scheudled job

* real this time
  • Loading branch information
straker authored Jan 4, 2021
1 parent ce8281e commit d7fa473
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@ jobs:
- run: npm run build
- run: npm run test:locales

# Run the test suite for nightly builds.
test_nightly:
<<: *defaults
<<: *unix_box
steps:
- checkout
- <<: *restore_dependency_cache_unix
- run: npm run build
# install Chrome Canary
- run: |
wget https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb
sudo apt install ./google-chrome-unstable_current_amd64.deb
- run: npm run test -- --browsers ChromeCanary,FirefoxNightly

# Test api docs can be built
build_api_docs:
<<: *defaults
Expand Down Expand Up @@ -300,3 +314,17 @@ workflows:
- github_release:
requires:
- release
nightly:
triggers:
- schedule:
# run at 00:00 UTC every day
cron: "0 0 * * *"
filters:
branches:
only:
- develop
jobs:
- dependencies_unix
- test_nightly:
requires:
- dependencies_unix

0 comments on commit d7fa473

Please sign in to comment.