Skip to content

Commit

Permalink
WIP: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ogiorgis committed Jan 30, 2024
1 parent 9ed069f commit 55bc010
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ tests_seq:
- job: "image:build"
optional: true
script:
- cp site.cfg.files/site.cfg.docker_seq site.cfg
# - cp site.cfg.files/site.cfg.docker_seq site.cfg
- nox -s "tests(with_cov=True, with_mpi=False)"


Expand All @@ -95,7 +95,7 @@ tests_mpi:
- job: "image:build"
optional: true
script:
- cp site.cfg.files/site.cfg.docker_mpi site.cfg
# - cp site.cfg.files/site.cfg.docker_mpi site.cfg
- nox -s "tests(with_cov=True, with_mpi=True)"


Expand Down
8 changes: 6 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ def tests(session, with_mpi, with_cov):
command += " -G mpi"
session.run_always(*command.split(), external=True)

session.install("-e", ".", "--no-deps", "-v", silent=False)
session.install(
".", "--no-deps", "-v",
"--config-settings=setup-args=-Dtransonic-backend=python",
silent=False,
)
session.run("ls", "src/fluidfft/fft3d", silent=False, external=True)

session.install("-e", "plugins/fluidfft-pyfftw")
Expand Down Expand Up @@ -90,7 +94,7 @@ def run_command(command, **kwargs):
def doc(session):
session.run_always("pdm", "sync", "-G", "doc", "--no-self", external=True)
session.install(
"-e", ".", "--no-deps", env={"FLUIDFFT_TRANSONIC_BACKEND": "python"}
".", "--no-deps", "--config-settings=setup-args=-Dtransonic-backend=python"
)
session.install("-e", "plugins/fluidfft-pyfftw")

Expand Down

0 comments on commit 55bc010

Please sign in to comment.