ci(coverage): simplify coverage step and pin shell to bash
- removes unreachable `; exit ${PIPESTATUS[0]}` — already covered by pipefail (Tobias)
- adds explicit `shell: bash` to both new steps for clarity (Tobias)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,12 +37,14 @@ jobs:
|
|||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
|
||||||
- name: Run unit and component tests with coverage
|
- name: Run unit and component tests with coverage
|
||||||
run: npm run test:coverage 2>&1 | tee /tmp/coverage-test.log; exit ${PIPESTATUS[0]}
|
shell: bash
|
||||||
|
run: npm run test:coverage 2>&1 | tee /tmp/coverage-test.log
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
env:
|
env:
|
||||||
TZ: Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
|
|
||||||
- name: Assert no birpc teardown race in coverage run
|
- name: Assert no birpc teardown race in coverage run
|
||||||
|
shell: bash
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
if grep -q "rpc is closed" /tmp/coverage-test.log 2>/dev/null; then
|
if grep -q "rpc is closed" /tmp/coverage-test.log 2>/dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user