fix build docs #39
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 | |
- dev | |
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 py38 python=3.8 | |
conda create -q -y -n py313 python=3.13 | |
- run: | | |
export PY38_PATH=$CONDA/envs/py38/bin | |
export PY313_PATH=$CONDA/envs/py313/bin | |
export PATH=$PATH:$PY38_PATH:$PY313_PATH | |
tox # --parallel |