How to improve CI.yml to avoid running a test-set twice

ufechner7
Sat, 22 Mar 2025 10:39:14 +0000
General Usage

Im my CI.yml file I have:

      matrix:
        version:
          - '1.10'
          - '1'
          - 'pre'

This is intended. I want to test with the latest stable Julia release, the latest Julia release and any upcoming beta version (pre-release).

But if there is no pre-release (like in the moment), then this runs the tests twice with the same Julia version (1.11).

How can this be avoided?

5 posts - 3 participants