Skip to content

Commit

Permalink
Use pip for github CI tests
Browse files Browse the repository at this point in the history
`pip install -r requirements.txt` allows for conditional requirements whereas
`conda install --file requirements.txt` does not.
  • Loading branch information
daveraja committed Feb 2, 2022
1 parent d8ded3b commit 4293a00
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: setup miniconda
uses: conda-incubator/setup-miniconda@v2
- name: setup python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: clorm
channels: conda-forge

- name: install prerequisites
shell: pwsh
run: |
conda install --file requirements.txt
pip install -r requirements.txt
- name: install clorm
shell: pwsh
Expand All @@ -38,9 +34,8 @@ jobs:
- name: info
shell: pwsh
run: |
conda info
conda list
python -VV
pip list
- name: test
shell: pwsh
Expand Down

0 comments on commit 4293a00

Please sign in to comment.