Skip to content

Update versioneer for python 3.12 support #51

Update versioneer for python 3.12 support

Update versioneer for python 3.12 support #51

Workflow file for this run

# things not included
# language
# notifications - no email notifications set up
name: pytest
on:
pull_request:
branches:
- '*'
jobs:
test_suite:
name: Pytest on ${{ matrix.python-version }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ["3.9", "3.10", "3.11"]
timeout-minutes: 30
defaults:
run:
shell: bash -l {0}
env:
PYTHON_VERSION: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "100"
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
- name: Fetch
run: git fetch --prune --tags
- name: conda setup
run: |
conda config --set always_yes True
conda install -c pyviz "pyctdev>=0.5"
doit ecosystem_setup
doit env_create ${{ env.CHANS_DEV}} --python=${{ matrix.python-version }}
- name: doit develop_install
run: |
conda activate test-environment
conda list
doit develop_install ${{ env.CHANS_DEV }} -o tests
- name: doit env_capture
run: |
conda activate test-environment
doit env_capture
- name: doit test_lint
run: |
conda activate test-environment
doit test_lint
- name: doit test_unit
run: |
conda activate test-environment
doit test_unit_deploy
- name: codecov
run: |
conda activate test-environment
codecov