Created
May 16, 2019 19:52
-
-
Save YOU54F/12416e609c1a371d31f2fab69f461ea2 to your computer and use it in GitHub Desktop.
Cypress Microsoft Edge MacOSX - CircleCI config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2.1 | |
jobs: | |
test: | |
macos: | |
xcode: 10.1.0 | |
working_directory: ~/app | |
steps: | |
- checkout | |
- run: | |
name: Download canary beta | |
command: | | |
curl -O https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/MicrosoftEdgeCanary-76.0.151.0.pkg | |
- run: | |
name: Install canary beta | |
command: | | |
sudo installer -pkg MicrosoftEdgeCanary-76.0.151.0.pkg -target / | |
- run: | |
name: Get cypress-edge package | |
command: | | |
curl -O https://github.com/YOU54F/cypress/releases/download/v3.2.0-edge.1/cypress-3.2.0-edge.1.zip | |
- run: | |
name: export env var - this is actually set in circle ci config at a project level | |
command: | | |
export CYPRESS_INSTALL_BINARY=https://github.com/YOU54F/cypress/releases/download/v3.2.0-edge.1/cypress-3.2.0-edge.1.zip | |
- run: | |
name: install cypress | |
command: | | |
npm install @you54f/cypress --save | |
- run: | |
name: run cypress | |
command: | | |
node_modules/.bin/cypress run --browser edge | |
workflows: | |
build-test: | |
jobs: | |
- test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment