Prospective fix for updater test in CI

Disable the imagefilter and plotter for 0.0.5, 0.0.6 and 0.1.0.
In the future we want to test them though.
This commit is contained in:
Simon Hausmann 2021-08-09 17:03:01 +02:00 committed by Simon Hausmann
parent 10da1a9499
commit 59eaaee262

View file

@ -589,6 +589,13 @@ jobs:
git checkout v${{ matrix.from_version }} --no-overlay -- tests/cases
# Remove printerdemo_old from Cargo.toml because this directory was not there in 0.0.5
sed -i "/printerdemo_old/d" Cargo.toml
- name: Remove newer examples
run: |
# Remove imagefilter and plotter from Cargo.toml because these directories were not there before 0.1.1
sed -i "/imagefilter/d;/plotter/d" Cargo.toml
if: matrix.from_version == '0.0.5' || matrix.from_version == '0.0.6' || matrix.from_version == '0.1.0'
- name: "Commit old checkout"
run: |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "${GITHUB_ACTOR}"
git commit -a -m "REVERT TESTS TO v${{ matrix.from_version }}"