mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
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:
parent
12ef94df5e
commit
88be067c0b
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user