Remove unnecessary CI environments (#19) #57
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: Test latest | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
build: | |
name: ${{ matrix.python-version }} ${{ matrix.os }} | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu] | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
include: | |
- os: macos | |
python-version: '3.8' | |
- os: macos | |
python-version: '3.12' | |
- os: windows | |
python-version: '3.8' | |
- os: windows | |
python-version: '3.12' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Conda Environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
condarc-file: ci/condarc | |
use-mamba: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: ci/requirements.yml | |
activate-environment: TEMPLATE | |
- name: Show conda options | |
shell: bash -l {0} | |
run: conda config --show | |
- name: conda info | |
shell: bash -l {0} | |
run: conda info | |
- name: conda list | |
shell: bash -l {0} | |
run: conda list | |
- name: Install | |
shell: bash -l {0} | |
run: python -m pip install --no-deps -e . | |
- name: pytest | |
shell: bash -l {0} | |
run: | | |
coverage run -m pytest -v | |
coverage xml | |
- name: codecov.io | |
uses: codecov/codecov-action@v1 |