Skip to content

Commit

Permalink
Python Versions
Browse files Browse the repository at this point in the history
- bumping 3.10 --> 3.11
- adding a matrix for tests
  • Loading branch information
carlkidcrypto committed Jan 8, 2025
1 parent e40d45e commit c5bfc55
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Install pypa/build
run: >-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_and_publish_to_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Install pypa/build
run: >-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sphinx_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- name: Set up Python 3.10 env for sphinx...
- name: Set up Python 3.11 env for sphinx...
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Install python3/os requirements...
uses: carlkidcrypto/os-specific-runner@v2.1.1
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,22 @@ jobs:
setup.cfg
tests:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
needs: check-source-changes
if: needs.check-source-changes.outputs.run_job == 'true'
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Set up Python 3.10 env for running unittest tests...
- name: Set up Python ${{ matrix.python-version }} env for running unittest tests...
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "${{ matrix.python-version }}"

- name: Install python3 requirements...
uses: carlkidcrypto/os-specific-runner@v2.1.1
Expand Down

0 comments on commit c5bfc55

Please sign in to comment.