Skip to content
Snippets Groups Projects
Commit 4abcff88 authored by Florian Atteneder's avatar Florian Atteneder
Browse files

CI: try to reuse precompilation cache at least for IntegrationTests...

CI: try to reuse precompilation cache at least for IntegrationTests (!212)
parent cd4a82d6
No related branches found
No related tags found
1 merge request!212CI: try to reuse precompilation cache at least for IntegrationTests
Pipeline #7197 passed
...@@ -20,9 +20,8 @@ unittests: ...@@ -20,9 +20,8 @@ unittests:
integrationtests: integrationtests:
script: script:
- julia --project=test/IntegrationTests -e "import Pkg; Pkg.develop(path=\".\"); Pkg.resolve(); Pkg.instantiate()"
# using !runtest() because Int(false) = 0 and 0 exit code indicates success in shells # using !runtest() because Int(false) = 0 and 0 exit code indicates success in shells
- julia --project=test/IntegrationTests -e "using IntegrationTests; exit(!IntegrationTests.runtests())" - julia --project=@. -e "using dg1d; using Pkg; Pkg.activate(\"test/IntegrationTests\"); Pkg.develop(path=\".\"); using IntegrationTests; exit(!IntegrationTests.runtests())"
only: only:
- merge_requests - merge_requests
artifacts: artifacts:
...@@ -34,9 +33,8 @@ integrationtests: ...@@ -34,9 +33,8 @@ integrationtests:
integrationtests-threads: integrationtests-threads:
script: script:
- julia --project=test/IntegrationTests -e "import Pkg; Pkg.develop(path=\".\"); Pkg.resolve(); Pkg.instantiate()"
# using !runtest() because Int(false) = 0 and 0 exit code indicates success in shells # using !runtest() because Int(false) = 0 and 0 exit code indicates success in shells
- julia --project=test/IntegrationTests --threads 8 -e "using IntegrationTests; exit(!IntegrationTests.runtests())" - julia --project=@. --threads 8 -e "using dg1d; using Pkg; Pkg.activate(\"test/IntegrationTests\"); Pkg.develop(path=\".\"); using IntegrationTests; exit(!IntegrationTests.runtests())"
only: only:
- merge_requests - merge_requests
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment