diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4dccb17..4274ac6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,19 @@ on: - .gitignore - "*.md" +env: + PYTHON_VERSION: '3.12' + jobs: pytest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: "Install dependencies" run: pip install -r requirements.txt && pip install -r test/requirements.txt @@ -27,6 +34,10 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: "Install dependencies" run: | pip install -r requirements.txt diff --git a/Dockerfile.alpine b/Dockerfile.alpine index c7a8893..a57239b 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,4 +1,4 @@ -FROM python:3.11-alpine +FROM python:3.12-alpine ENV PUID=1000 ENV PGID=1000 diff --git a/Dockerfile.slim b/Dockerfile.slim index 1ae6a2f..fe0ca9e 100644 --- a/Dockerfile.slim +++ b/Dockerfile.slim @@ -1,4 +1,4 @@ -FROM python:3.11-slim +FROM python:3.12-slim ENV PUID=1000 ENV PGID=1000