Skip to content

Commit

Permalink
chore: Drop support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jul 4, 2024
1 parent 311d60e commit a76dd8f
Show file tree
Hide file tree
Showing 4 changed files with 768 additions and 745 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/test_tap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,24 @@ jobs:
ORG_LEVEL_TOKEN: ${{secrets.ORG_LEVEL_TOKEN}}
strategy:
matrix:
python-version: [3.11, "3.10", 3.9, 3.8, 3.7]
python-version:
- "3.11"
- "3.10"
- "3.9"
- "3.8"
# run the matrix jobs one after the other so they can benefit from caching
max-parallel: 1

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get Date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash

- name: Cache github API responses
uses: actions/cache@v3
uses: actions/cache@v4
with:
# must match the path in tests/__init__.py
path: '.cache/api_calls_tests_cache.sqlite'
Expand All @@ -43,19 +47,19 @@ jobs:
key: api-cache-v4-${{ steps.get-date.outputs.date }}

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
# Version of Poetry to use
version: 1.2.2
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-4-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-${{ matrix.python-version }}
Expand Down
Loading

0 comments on commit a76dd8f

Please sign in to comment.