Skip to content

Commit

Permalink
Bump version and fix test matrix
Browse files Browse the repository at this point in the history
The github runner no longer supports 3.6, and I'm not sure there's any
reason to. It's worth adding some newer versions though.

I've also disabled build actions for non-master branches.
  • Loading branch information
julianandrews committed Dec 22, 2023
1 parent bcfe5b5 commit 8a8f667
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: build wheels for linux

on: [push]
on:
push:
branches:
- master

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build_win_and_mac.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: build wheels for macos and windows

on: [push]
on:
push:
branches:
- master

jobs:
build:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8]
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install eval7
run: |
pip install cython pytest
python -m pip install --upgrade pip setuptools
python -m pip install cython pytest
python setup.py install
- name: Run Tests
run: py.test
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='eval7',
version='0.1.9',
version='0.1.10',
description='A poker hand evaluation and equity calculation library',
long_description=long_description,
long_description_content_type='text/x-rst',
Expand Down

0 comments on commit 8a8f667

Please sign in to comment.