Skip to content

Many pieces of additional documentation, plus changes to documentatio… #181

Many pieces of additional documentation, plus changes to documentatio…

Many pieces of additional documentation, plus changes to documentatio… #181

Workflow file for this run

name: Unit Tests - Conda
on:
push:
branches:
- 'release'
- 'development'
- 'main'
pull_request:
branches:
- '*'
jobs:
Test-Package:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 8
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11",]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Create Conda Environment
uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
python-version: ${{ matrix.python-version }}
channels: conda-forge
- name: Install Dependencies Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
python -m pip install --upgrade pip
pip install 'tox<4'
pip install 'tox-gh-actions<2'
pip install tox-conda
- name: Install Dependencies Windows
if: matrix.os == 'windows-latest'
run: |
conda install pip
conda install "tox<4"
pip install "tox-gh-actions<2"
pip install tox-conda
- name: Test with tox
shell: bash -el {0}
run: |
tox