Skip to content

Commit

Permalink
test changes only (DO NOT MERGE)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjpillsbury committed Sep 25, 2024
1 parent ea8327e commit 8c4c770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: npx playwright install --with-deps
# run yarn and pass through `-- --all` to turborepo
- name: Test
run: CI_CD=true SAUCE_USERNAME=${{secrets.SAUCE_USERNAME}} SAUCE_ACCESS_KEY=${{secrets.SAUCE_ACCESS_KEY}} yarn test -- -- --all
run: MY_TEST_SECRET=${{secrets.MY_TEST_SECRET}} CI_CD=true SAUCE_USERNAME=${{secrets.SAUCE_USERNAME}} SAUCE_ACCESS_KEY=${{secrets.SAUCE_ACCESS_KEY}} yarn test -- -- --all
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const user = process.env.SAUCE_USERNAME;
const key = process.env.SAUCE_ACCESS_KEY;

console.log('CI_CD?', process.env.CI_CD);
console.log('MY_TEST_SECRET?', process.env.MY_TEST_SECRET);
if (!(user && key)) {
const exitStatus = process.env.CI_CD ? 1 : 0;
console.warn('No saucelabs credentials available in this environment. Skipping');
Expand Down

0 comments on commit 8c4c770

Please sign in to comment.