Skip to content

Commit

Permalink
fix 3.10 to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
praeitor committed Dec 23, 2024
1 parent 910e391 commit 6315320
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10, 3.11]
python-major-version: [3]
python-minor-version: [8, 9, 10, 11]
services:
postgres:
image: postgres
env:
python-version: ${{ format('{0}.{1}', matrix.python-major-version, matrix.python-minor-version) }}
POSTGRES_USER: postgres_kittygram_user
POSTGRES_PASSWORD: postgres_kittygram_password
POSTGRES_DB: kittygram
Expand All @@ -22,10 +24,10 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}

- name: Install dependencies
run: |
Expand Down

0 comments on commit 6315320

Please sign in to comment.