Skip to content

Commit

Permalink
Fix integration testing
Browse files Browse the repository at this point in the history
Merge pull request #223 from openfisca/fix-sauce
  • Loading branch information
Mauko Quiroga authored Feb 5, 2020
2 parents d1c4135 + b2ec52c commit 9fb21d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ jobs:
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- restore_cache:
key: sc-4.4.9
key: sc-4.4.12
- run:
name: Install app dependencies
command: npm install
- run:
name: Install saucelabs
command: |
npm install saucelabs --no-save # allow sending Watai results to SauceLabs. Don't save in package.json, as this would change its checksum and mess up the cache.
npm install saucelabs@^1.0.1 --no-save # allow sending Watai results to SauceLabs. Don't save in package.json, as this would change its checksum and mess up the cache.
if [ -d sc ]; then exit; fi # sc has already been downloaded
mkdir sc
wget https://saucelabs.com/downloads/sc-4.4.9-linux.tar.gz --directory-prefix sc
tar -xzf sc/sc-4.4.9-linux.tar.gz --directory sc
wget https://saucelabs.com/downloads/sc-4.4.12-linux.tar.gz --directory-prefix sc
tar -xzf sc/sc-4.4.12-linux.tar.gz --directory sc
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules
- save_cache:
key: sc-4.4.9
key: sc-4.4.12
paths:
- sc
- run:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/VariableFixture.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variableDependencyTitle = "salary"
enumVariableTitle = "housing_occupancy_status"
enumVariableDefault = /tenant/
enumVariableDefinition = "Free lodger"
enumVariableDefinition = "Owner"

0 comments on commit 9fb21d9

Please sign in to comment.