Skip to content

Upgrade docker python package #96

Upgrade docker python package

Upgrade docker python package #96

Workflow file for this run

name: PR Checks
on: [push]
jobs:
test:
name: "Test"
strategy:
matrix:
python_version: [
"3.8",
"3.9",
"3.10",
"3.11",
]
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: "test"
AWS_SECRET_ACCESS_KEY: "test"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: cache poetry install
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-1.8.3
- uses: snok/install-poetry@v1
with:
version: 1.8.3
virtualenvs-create: true
virtualenvs-in-project: true
- name: cache deps
id: cache-deps
uses: actions/cache@v3
with:
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}
- run: poetry install --no-interaction --no-root
if: steps.cache-deps.outputs.cache-hit != 'true'
- name: Run Unit-tests
run: poetry run pytest tests