Skip to content

Commit

Permalink
Fix GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DrGFreeman committed Feb 11, 2024
1 parent 320a399 commit 4d4ffea
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 56 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: check
on:
push:
pull_request:
schedule:
- cron: "40 22 * * 6"

concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: test with ${{ matrix.py }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
py:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
- name: Install tox
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox
56 changes: 0 additions & 56 deletions .github/workflows/linux-checks.yml

This file was deleted.

8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
minversion = 4
envlist = py{38, 39}-pandas12, py{38, 39, 310, 311, 312}-pandaslatest, linting

[gh]
python =
3.12 = py312-pandaslatest, linting
3.11 = py311-pandaslatest
3.10 = py310-pandaslatest
3.9 = py39-pandas12, py39-pandaslatest
3.8 = py38-pandas12, py38-pandaslatest

[testenv]
setenv =
BOTO_CONFIG=/dev/null
Expand Down

0 comments on commit 4d4ffea

Please sign in to comment.