-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Mamba based CI * Update ci.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update environment.yml * Update environment-upstream-dev.yml * Update whats-new.rst --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f1773fe
commit f31885e
Showing
4 changed files
with
14 additions
and
28 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 |
---|---|---|
|
@@ -41,17 +41,17 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
python-version: ["3.8", "3.9", "3.10"] | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Create conda environment | ||
uses: mamba-org/setup-micromamba@v1.8.1 | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
cache-environment: true | ||
cache-downloads: true | ||
cache-env: true | ||
micromamba-version: 'latest' | ||
environment-file: ci/environment.yml | ||
extra-specs: | | ||
create-args: >- | ||
python=${{ matrix.python-version }} | ||
- name: Install xMIP | ||
run: | | ||
|
@@ -80,14 +80,14 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Create conda environment | ||
uses: mamba-org/provision-with-micromamba@main | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
cache-environment: true | ||
cache-downloads: true | ||
cache-env: true | ||
micromamba-version: 'latest' | ||
environment-file: ci/environment-upstream-dev.yml | ||
extra-specs: | | ||
python=3.10 | ||
create-args: >- | ||
python=3.11 | ||
- name: Install xMIP | ||
run: | | ||
python -m pip install -e . --no-deps | ||
|
@@ -103,8 +103,6 @@ jobs: | |
env_vars: OS,PYTHON | ||
name: codecov-umbrella | ||
fail_ci_if_error: false | ||
- name: Check Machine Config | ||
run: lscpu | ||
- name: Run Tests | ||
run: | | ||
pytest -n auto --ignore=tests/test_preprocessing_cloud.py | ||
|
@@ -126,29 +124,18 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Create conda environment | ||
uses: mamba-org/provision-with-micromamba@main | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
cache-environment: true | ||
cache-downloads: true | ||
cache-env: true | ||
micromamba-version: 'latest' | ||
environment-file: ci/environment-upstream-dev.yml | ||
extra-specs: | | ||
python=3.10 | ||
environment-file: ci/environment.yml | ||
create-args: >- | ||
python=3.11 | ||
- name: Install xMIP | ||
run: | | ||
python -m pip install -e . --no-deps | ||
conda list | ||
- name: Run Tests | ||
run: | | ||
pytest -n auto --cov=./ --cov-report=xml --ignore=tests/test_preprocessing_cloud.py | ||
- name: Upload code coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml | ||
flags: unittests | ||
env_vars: OS,PYTHON | ||
name: codecov-umbrella | ||
fail_ci_if_error: false | ||
- name: Check Machine Config | ||
run: lscpu | ||
- name: 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