Skip to content

Update supported Python versions and fix/refactor CI #133

Update supported Python versions and fix/refactor CI

Update supported Python versions and fix/refactor CI #133

Workflow file for this run

name: Checks-Linux
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "40 22 * * 6"
jobs:
unit-tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
pandas: [12, latest]
exclude:
- python-version: "3.10"
pandas: "12"
- python-version: "3.11"
pandas: "12"
- python-version: "3.12"
pandas: "12"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Test with pytest
run: |
tox -e ${{ matrix.tox_env }}
linting:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install tox
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Linting
run: |
tox -e linting