mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
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:
1 parent
9877946d68
commit
aef5d57776
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user