Skip to content

Commit

Permalink
Install for test examples in sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Apr 28, 2024
1 parent a7aff65 commit af33576
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ test-release:examples:
needs:
- job: "image:build"
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_TEST_RELEASE == "1"'
# rules:
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
# - if: '$CI_TEST_RELEASE == "1"'
script:
- nox -s test-examples

Expand Down
5 changes: 4 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ def test_examples(session):
command = "pdm sync --clean -G test -G mpi -G fft -G dev --no-self"
session.run_always(*command.split(), external=True)

session.install(".")
command = "."
if "GITLAB_CI" in os.environ:
command += " -C compile-args=-j1"
session.install(*command.split())
session.install("fluidfft-fftwmpi")

session.chdir("doc/examples")
Expand Down

0 comments on commit af33576

Please sign in to comment.