Skip to content

Commit

Permalink
chore: Dropped support for Python 3.8 (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Nov 4, 2024
1 parent 8e85c98 commit 67b5fba
Show file tree
Hide file tree
Showing 5 changed files with 481 additions and 441 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
pull_request:
types: [opened, synchronize, reopened]

env:
FORCE_COLOR: 1

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -21,39 +24,25 @@ jobs:
- "3.11"
- "3.10"
- "3.9"
- "3.8"
max-parallel: 3

steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Upgrade pip
run: |
pip install pip
pip --version
- name: Install Poetry
run: |
pipx install poetry
poetry --version
- name: Install dependencies
run: |
poetry env use ${{ matrix.python-version }}
poetry install
- uses: astral-sh/setup-uv@v3
with:
version: ">=0.4.0"

- name: Test with pytest
env:
TAP_CIRCLE_CI_TOKEN: ${{ secrets.TAP_CIRCLE_CI_TOKEN }}
TAP_CIRCLE_CI_ORG_SLUG: ${{ secrets.TAP_CIRCLE_CI_ORG_SLUG }}
run: |
poetry run pytest
uvx --python ${{ matrix.python-version }} --with tox-uv tox -e ${{ matrix.python-version }}
- name: Type check with mypy
run: |
poetry run mypy tap_circle_ci
uvx --python ${{ matrix.python-version }} --with tox-uv tox -e typing
1 change: 0 additions & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pip==24.3.1
poetry==1.8.4
Loading

0 comments on commit 67b5fba

Please sign in to comment.