bumpversion #28
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 | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] # macos-latest | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-activate-base: true | |
activate-environment: "" | |
- run: | | |
conda config --system --set changeps1 False # fixes conda: UnicodeEncodeError in windows | |
conda install -q -y -c conda-forge tox | |
conda create -q -y -n py37 python=3.7 | |
conda create -q -y -n py311 python=3.11 | |
- run: | | |
export PY37_PATH=$CONDA/envs/py37/bin | |
export PY311_PATH=$CONDA/envs/py311/bin | |
export PATH=$PATH:$PY37_PATH:$PY311_PATH | |
tox # --parallel |