Upload test logs for debugging CI failures (#858)

The CI often fails with cryptic errors that would be much easier to
debug if the logs from Factorio was provided.  Upload the cluster log
that was written during the tests which includes Factorio logs so that
these can be inspected after a test failure.
This commit is contained in:
Hornwitser authored and GitHub committed 2026-03-05 01:32:00 +01:00
1 parent 9877946d68
commit aef5d57776
1 file changed
+6
+6
View File
@@ -40,6 +40,12 @@ jobs:
with:
files: ./coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test logs for debugging
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.node-version }}-${{ matrix.factorio-version }}
path: temp/test/logs
lint:
runs-on: ubuntu-latest