diff --git a/.github/workflows/retrace-classify.yml b/.github/workflows/retrace-classify.yml index 9202139..322280b 100644 --- a/.github/workflows/retrace-classify.yml +++ b/.github/workflows/retrace-classify.yml @@ -19,11 +19,13 @@ jobs: node-version: 20 - name: Install dependencies - run: npm install + run: npm install - name: Run tests id: run_tests - run: npm test 2>&1 | tee test-output.log + run: | + set -o pipefail + npm test 2>&1 | tee test-output.log continue-on-error: true - name: Classify failure with Retrace diff --git a/README.md b/README.md index 7d0fd0b..7fbe301 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,6 @@ Minimal repo used to test the Retrace GitHub Actions integration (`.github/workflows/retrace-classify.yml`). The test in `tests/checkout.test.js` -fails on purpose so the workflow has something to classify. -..... \ No newline at end of file +fails on purpose so the workflow has something to classify. +Retrace CI test +..... diff --git a/checkout.test.js b/tests/checkout.test.js similarity index 100% rename from checkout.test.js rename to tests/checkout.test.js