-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflow for release and conda (#41)
* Update workflow for release and conda * Update run_tests.yml
- Loading branch information
Showing
2 changed files
with
9 additions
and
15 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
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 |
---|---|---|
|
@@ -114,8 +114,8 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { name: linux-python3.7-minimum , test-tox-env: py37-minimum , build-tox-env: build-py37-minimum , python-ver: "3.7" , os: ubuntu-latest } | ||
- { name: linux-python3.10-upgraded , test-tox-env: py310-upgraded , build-tox-env: build-py310-upgraded , python-ver: "3.10", os: ubuntu-latest } | ||
- { name: conda-linux-python3.7-minimum , test-tox-env: py37-minimum , build-tox-env: build-py37-minimum , python-ver: "3.7" , os: ubuntu-latest } | ||
- { name: conda-linux-python3.10-upgraded , test-tox-env: py310-upgraded , build-tox-env: build-py310-upgraded , python-ver: "3.10", os: ubuntu-latest } | ||
steps: | ||
- name: Cancel any previous incomplete runs | ||
uses: styfle/[email protected] | ||
|
@@ -132,15 +132,14 @@ jobs: | |
with: | ||
auto-update-conda: true | ||
auto-activate-base: true | ||
activate-environment: "" | ||
activate-environment: true | ||
python-version: ${{ matrix.python-ver }} | ||
|
||
- name: Install build dependencies | ||
run: | | ||
conda update -n base -c defaults conda | ||
conda config --set always_yes yes --set changeps1 no | ||
conda config --add channels conda-forge | ||
conda install python=${{ matrix.python-ver }} | ||
conda install tox | ||
conda info | ||
conda install -c conda-forge tox | ||
conda list | ||
- name: Run tox tests | ||
run: | | ||
|