Skip to content

Commit

Permalink
feat: support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDebonair committed May 4, 2024
1 parent 49c2aca commit e99a902
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 107 deletions.
3 changes: 0 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ source = machine
omit =
# don't care about bundled plugins, they will not be tested
machine/plugins/builtin/*
machine/asyncio/plugins/builtin/*
# we won't test the run script
machine/bin/*
# we don't care about vendored libs
machine/vendor/*

[report]
# Regexes for lines to exclude from consideration
Expand Down
12 changes: 0 additions & 12 deletions .flake8

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -35,7 +35,7 @@ jobs:
run: tox
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: ${{ matrix.python-version == '3.11' }}
if: ${{ matrix.python-version == '3.12' }}
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -45,10 +45,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: chartboost/ruff-action@v1
- uses: chartboost/ruff-action@v1
with:
Expand Down
Loading

0 comments on commit e99a902

Please sign in to comment.