Fix CI not performing coverage

This commit is contained in:
Cooldude2606 committed 2026-08-08 23:47:24 +01:00
1 parent bdf5e3011f
commit a186bde2a9
1 file changed
+3 -3
+3 -3
View File
@@ -29,13 +29,13 @@ jobs:
- 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
- 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
- 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
- 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
with:
files: ./coverage/lcov.info