mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 15:04:52 +09:00
Migrate coverage reporting to GitHub Actions (#454)
Travis seems to be going away from supporting Open Source Software for free and their proceedure to gaining free tokens is getting harder and hander to find for each year that passes. Remove Travis CI integration and migrate the coverage reporting previously provided by the Travis build over to the GitHub Actions.
This commit is contained in:
1 parent
5e94198216
commit
9465a488cc
3 files changed
+13
-18
No files matched your search
@@ -25,7 +25,17 @@ jobs:
|
||||
- run: wget -q -O factorio.tar.gz https://www.factorio.com/get-download/latest/headless/linux64 && tar -xf factorio.tar.gz && rm factorio.tar.gz
|
||||
- run: npx lerna bootstrap --hoist
|
||||
- run: npx lerna run build
|
||||
- run: npm test
|
||||
- name: Run tests
|
||||
if: ${{ matrix.node-version != '12.x' }}
|
||||
run: npm test
|
||||
- name: Run coverage
|
||||
if: ${{ matrix.node-version == '12.x' }}
|
||||
run: npm run ci-cover
|
||||
- name : Upload coverage to Codecov
|
||||
if: ${{ matrix.node-version == '12.x' }}
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
files: ./coverage/lcov.info
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user