Preparations for Python 3.10 #1334
Workflow file for this run
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: CI Test | |
on: [push, pull_request] | |
jobs: | |
build-linux: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: environment.yml | |
activate-environment: cnapy | |
- name: Test CNApy | |
run: | | |
conda init bash | |
source ~/.bashrc | |
conda activate cnapy | |
python setup.py install | |
pytest -v ./cnapy/tests/test.py | |
build-windows: | |
runs-on: "windows-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: environment.yml | |
activate-environment: cnapy | |
- name: Test CNApy | |
run: | | |
python setup.py install | |
pytest -v ./cnapy/tests/test.py |