Skip to content

Commit

Permalink
configure via setup-miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Oct 30, 2023
1 parent aac83a7 commit 3829e0c
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
activate-environment: test
python-version: ${{ inputs.py_version }}
activate-environment: test
channels: bblanchon,pypdfium2-team
channel-priority: strict

- name: Prepare
run: |
conda install -y conda-build conda-verify anaconda-client
conda config --prepend channels bblanchon
conda config --prepend channels pypdfium2-team
conda config --set channel_priority strict
conda install -y conda-build conda-verify
git config --global user.email "[email protected]"
git config --global user.name "geisserml"
python3 -m pip install -U -r req/setup.txt
Expand Down Expand Up @@ -88,15 +87,13 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
activate-environment: test
python-version: ${{ matrix.py }}
activate-environment: test
channels: bblanchon,pypdfium2-team
channel-priority: strict

- name: Prepare
run: |
conda config --prepend channels bblanchon
conda config --prepend channels pypdfium2-team
conda config --set channel_priority strict
python3 -m pip install -U -r req/default.txt
run: python3 -m pip install -U -r req/default.txt

- name: Download packages
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 3829e0c

Please sign in to comment.