Skip to content

Commit

Permalink
Creates an artifact to diff tests between local and pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed Mar 1, 2024
1 parent 46a84a0 commit e739996
Show file tree
Hide file tree
Showing 3 changed files with 10,283 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,12 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Test
uses: borales/actions-yarn@v4
- name: Test and generate report
run: yarn test
# Note: Adjust the test command if needed to ensure it generates the desired output

- name: Upload test report
uses: actions/upload-artifact@v3
with:
cmd: test
name: test-report
path: tests_pipeline.txt
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"dopublish": "npm run build && npm run tag && npm publish",
"lint": "gulp eslint",
"serve": "jekyll serve --config _config.yml,_config.dev.yml",
"test": "mocha 'src/**/*.unit.js'",
"test": "mocha 'src/**/*.unit.js' --reporter spec > tests_local.txt",
"test:updateRenders": "npm run lib && TZ=UTC node --require jsdom-global/register test/updateRenders.js",
"test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run"
},
Expand Down
Loading

0 comments on commit e739996

Please sign in to comment.