diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index 649ef583b..8c4e979f6 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -77,13 +77,13 @@ jobs: RUSTDOCFLAGS: -D warnings - name: Run tests with image tests - if: runner.os == 'Windows' + if: runner.os == 'Linux' || runner.os == 'Windows' run: cargo test --locked --features imgtests env: XDG_RUNTIME_DIR: '' # dummy value, just to silence warnings about it missing - name: Run tests without image tests - if: ${{ !(runner.os == 'Windows') }} + if: ${{ !(runner.os == 'Linux' || runner.os == 'Windows') }} run: cargo test --locked - name: Upload images