mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 16:23:12 +09:00
Fix CI not performing coverage
This commit is contained in:
1 file changed
+3
-3
@@ -29,13 +29,13 @@ jobs:
|
|||||||
- name: Use Factorio ${{ matrix.factorio-version }}
|
- name: Use Factorio ${{ matrix.factorio-version }}
|
||||||
run: wget -q -O factorio.tar.gz https://www.factorio.com/get-download/${{ matrix.factorio-version }}/headless/linux64 && tar -xf factorio.tar.gz && rm factorio.tar.gz
|
run: wget -q -O factorio.tar.gz https://www.factorio.com/get-download/${{ matrix.factorio-version }}/headless/linux64 && tar -xf factorio.tar.gz && rm factorio.tar.gz
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: ${{ matrix.node-version != '20.x' || matrix.factorio-version != '1.1.110' }}
|
if: ${{ matrix.node-version != '22.x' || matrix.factorio-version != '1.1.110' }}
|
||||||
run: pnpm test
|
run: pnpm test
|
||||||
- name: Run coverage
|
- name: Run coverage
|
||||||
if: ${{ matrix.node-version == '20.x' && matrix.factorio-version == '1.1.110' }}
|
if: ${{ matrix.node-version == '22.x' && matrix.factorio-version == '1.1.110' }}
|
||||||
run: pnpm run ci-cover
|
run: pnpm run ci-cover
|
||||||
- name : Upload coverage to Codecov
|
- name : Upload coverage to Codecov
|
||||||
if: ${{ matrix.node-version == '20.x' && matrix.factorio-version == '1.1.110' }}
|
if: ${{ matrix.node-version == '22.x' && matrix.factorio-version == '1.1.110' }}
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
with:
|
with:
|
||||||
files: ./coverage/lcov.info
|
files: ./coverage/lcov.info
|
||||||
|
|||||||
Reference in new issue
Block a user