Add CONDA_DEVENV_USE_LOCKS env var to configure the default for --use-locks #52
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
name: test | |
on: | |
push: | |
branches: | |
- main | |
- "test-me-*" | |
pull_request: | |
# Cancel running jobs for the same workflow and branch. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
tox_env: ["py310", "py311"] | |
os: [ubuntu-latest, windows-latest] | |
include: | |
- tox_env: "py310" | |
python: "3.10" | |
- tox_env: "py311" | |
python: "3.11" | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Test | |
run: | | |
tox -e ${{ matrix.tox_env }} |