diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b254065..833abf8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,8 @@ jobs: - name: Run tests shell: bash - run: nimble test + run: | + nimble testMulti - name: Build docs if: matrix.branch == 'devel' diff --git a/fusion.nimble b/fusion.nimble index 4fc24fe8..efc5b360 100644 --- a/fusion.nimble +++ b/fusion.nimble @@ -16,3 +16,9 @@ task docs, "": exec "nim c -r -d:fusionDocJs src/fusion/docutils " & srcDir # C exec "nim c -r src/fusion/docutils " & srcDir + +task testMulti, "Execute test suite with different GC options": + exec "nimble test" + when (NimMajor, NimMinor) >= (1, 2): + exec "nimble test --gc:arc" + exec "nimble test --gc:orc"