Re-enable image tests on Linux

This commit is contained in:
Aaron Hill 2022-12-02 23:56:46 -06:00
parent e351f9f19b
commit f212e55385
1 changed files with 2 additions and 2 deletions

View File

@ -77,13 +77,13 @@ jobs:
RUSTDOCFLAGS: -D warnings RUSTDOCFLAGS: -D warnings
- name: Run tests with image tests - name: Run tests with image tests
if: runner.os == 'Windows' if: runner.os == 'Linux' || runner.os == 'Windows'
run: cargo test --locked --features imgtests run: cargo test --locked --features imgtests
env: env:
XDG_RUNTIME_DIR: '' # dummy value, just to silence warnings about it missing XDG_RUNTIME_DIR: '' # dummy value, just to silence warnings about it missing
- name: Run tests without image tests - name: Run tests without image tests
if: ${{ !(runner.os == 'Windows') }} if: ${{ !(runner.os == 'Linux' || runner.os == 'Windows') }}
run: cargo test --locked run: cargo test --locked
- name: Upload images - name: Upload images