mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-11 17:41:26 -06:00
Print baseline diffs on test failures (#57852)
This commit is contained in:
parent
e37df042eb
commit
8fa18b212c
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -57,9 +57,14 @@ jobs:
|
||||
- run: npm ci
|
||||
|
||||
- name: Tests
|
||||
id: test
|
||||
# run tests, but lint separately
|
||||
run: npm run test -- --no-lint --bundle=${{ matrix.bundle }}
|
||||
|
||||
- name: Print baseline diff on failure
|
||||
if: ${{ failure() && steps.test.conclusion == 'failure' }}
|
||||
run: git diff --diff-filter=AM --no-index -- ./tests/baselines/reference ./tests/baselines/local
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user