Skip to content

Commit

Permalink
Migrate test action to setup-micromamba and fix upload-artifact (#249)
Browse files Browse the repository at this point in the history
* Migrate test action to setup-micromamba

* Fix upload-artifact
  • Loading branch information
clelange authored Feb 13, 2024
1 parent 2806dfe commit 2287c18
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,18 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Micromamba environment
uses: mamba-org/provision-with-micromamba@v16
uses: mamba-org/setup-micromamba@v1
with:
environment-file: false
environment-name: ci
extra-specs: |
create-args: >-
python=${{ matrix.python-version }}
root=${{ matrix.root-version }}
imagemagick
ghostscript
pip
channels: conda-forge
condarc: |
channels:
- conda-forge
- name: ROOT info
run: |
Expand Down Expand Up @@ -104,7 +105,7 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: notebooks py3
name: notebooks-${{ matrix.root-version }}-${{ matrix.python-version }}-${{ matrix.os }} py3-${{ matrix.root-version }}-${{ matrix.python-version }}-${{ matrix.os }}
path: examples/*.html

- name: Run pylint
Expand Down

0 comments on commit 2287c18

Please sign in to comment.