Skip to content

Commit

Permalink
CI: Add env name to conda test names (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
theroggy authored Jan 11, 2024
1 parent e820f90 commit d7f7c4b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:

jobs:
test:
name: ${{ matrix.os }} (Python ${{ matrix.python }})
name: ${{ matrix.os }}, python ${{ matrix.python }}, ${{ matrix.env }}
runs-on: ${{ matrix.os }}
defaults:
run:
Expand All @@ -24,7 +24,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
python: ["3.10", "3.11", "3.12"]
env: ["environment.yml"]
env: ["latest"]
include:
# environment with lower versions of optional dependencies
- python: "3.10"
Expand All @@ -34,12 +34,12 @@ jobs:
# minimal environment without optional dependencies
- os: "ubuntu-latest"
python: "3.9"
env: "environment-minimal.yml"
env: "minimal"
# environment for older Windows libgdal to make sure gdal_i.lib is
# properly detected
- os: "windows-2019"
python: "3.10"
env: "environment-libgdal3.5.1.yml"
env: "libgdal3.5.1"

steps:
- name: Checkout repo
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/${{ matrix.env }}
environment-file: ci/envs/${{ matrix.env }}.yml
create-args: >-
python=${{ matrix.python }}
${{ matrix.extra }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d7f7c4b

Please sign in to comment.