ci: Try disabling image tests on Linux

This commit is contained in:
Daniel Jacobs 2022-12-02 22:44:52 -05:00 committed by kmeisthax
parent e8b16b0cce
commit 5b9da62c0a
1 changed files with 2 additions and 2 deletions

View File

@ -77,13 +77,13 @@ jobs:
RUSTDOCFLAGS: -D warnings
- name: Run tests with image tests
if: runner.os == 'Linux' || runner.os == 'Windows'
if: 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 == 'Linux' || runner.os == 'Windows') }}
if: ${{ !(runner.os == 'Windows') }}
run: cargo test --locked
- name: Upload images