-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip setup pixi project * wip pixi setup: python dependencies and tasks * pixi setup add doc feature * wip pixi setup: add dev tasks * setup pixi: more tweaks * add mypy pixi task * add pixi lock file * ci tests: bump min macos version * add ci workflow: test cpp with pixi (linux) * ci: fix pixi version * ci: pixi fix task name * ci: pixi fix task environment * ci: pixi fix task environment take 2 * doc: add pixi specific details * nit
- Loading branch information
Showing
8 changed files
with
9,168 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
- {os: windows-latest, label: "windows"} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up GCC (Linux) | ||
uses: egor-tensin/setup-gcc@v1 | ||
|
@@ -67,7 +67,7 @@ jobs: | |
python-version: ["3.10", "3.11", "3.12"] | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
|
@@ -91,7 +91,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
|
@@ -106,3 +106,17 @@ jobs: | |
run: | | ||
python -m pip install numpy==1.26.4 pytest | ||
pytest python/fastscapelib/tests -vv --color=yes | ||
test_cpp_with_pixi: | ||
name: Test C++ with pixi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.40.1 | ||
cache: true | ||
|
||
- run: pixi run --environment cpp run-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.