Let's require cached images to be present before running the
integration tests. This makes sure the tests only need to build the
output that they're testing and it also opens up the road for running
tests in parallel in the future.
--include mkosi-tools \
$( [[ ${{ matrix.tools }} == opensuse ]] && echo --package=grub2)
+ - name: Build image
+ run: mkosi --distribution ${{ matrix.distro }} -f
+
- name: Run integration tests
run: |
sudo --preserve-env \
"--release", self.config.release,
*(f"--kernel-command-line={i}" for i in kcl),
"--force",
- "--incremental",
+ "--incremental=strict",
"--output-directory", self.output_dir,
*(["--debug-shell"] if self.config.debug_shell else []),
*options,