File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,25 +18,21 @@ jobs:
1818 with :
1919 access_token : ${{ github.token }}
2020
21- # - name: Find llvm-cov
22- # run: find / -iname llvm-cov
23-
24- # - name: Intall llvm-cov
25- # run: sudo apt-get install llvm-10
26-
2721 - uses : actions/checkout@v2
2822 - name : Build
2923 run : swift build -v
3024 - name : Run tests
3125 run : swift test --enable-code-coverage -v
26+
3227 - name : Generate Codecov
3328 run : |
3429 /usr/lib/llvm-9/bin/llvm-cov export \
3530 -format="lcov" .build/x86_64-unknown-linux-gnu/debug/AsyncTaskSwitcherPackageTests.xctest \
36- -instr-profile=.build/x86_64-unknown-linux-gnu/debug/codecov/default.profdata > info.lcov
31+ -instr-profile=.build/x86_64-unknown-linux-gnu/debug/codecov/default.profdata \
32+ > info.lcov
3733 - name : Print Codecov
3834 run : cat info.lcov
39- # - name: Upload to codecov.io
40- # run: bash <(curl -s https://codecov.io/bash) -f info.lcov
41- # env:
42- # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
35+ - name : Upload to codecov.io
36+ run : bash <(curl -s https://codecov.io/bash) -f info.lcov
37+ env :
38+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments