Small tweaks to docstrings, remove use of default mutable argument, fix minor security problem, attach whl to GitHub releases. #155
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: 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 |