Update action versions #1400
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@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: environment.yml | |
miniforge-version: latest | |
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@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: environment.yml | |
miniforge-version: latest | |
activate-environment: cnapy | |
- name: Test CNApy | |
run: | | |
python setup.py install | |
pytest -v ./cnapy/tests/test.py |