Switch coverage build to checkout@v2 (#285)

Attempt to fix coverage builds by using checkout@v2 instead of v1 which might fix the detacthed HEAD issue.

On the off chance it doesn't, add extra logging around git specifically.
This commit is contained in:
Arseny Kapoulkine 2021-12-09 17:50:29 -08:00 committed by GitHub
parent 12ef94df5e
commit 88be067c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,22 +66,24 @@ jobs:
coverage: coverage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
NODE_COVERALLS_DEBUG: 1
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: install - name: install
run: | run: |
sudo apt install llvm sudo apt install llvm
- name: make coverage - name: make coverage
run: | run: |
CXX=clang++-10 make -j2 config=coverage coverage CXX=clang++-10 make -j2 config=coverage coverage
- name: debug coverage
run: |
git status
git log -5
echo SHA: $GITHUB_SHA
- name: upload coverage - name: upload coverage
uses: coverallsapp/github-action@master uses: coverallsapp/github-action@master
with: with:
path-to-lcov: ./coverage.info path-to-lcov: ./coverage.info
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: false
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: coverage name: coverage