Skip to content

marked pydantic work as done #110

marked pydantic work as done

marked pydantic work as done #110

name: Python Testing
on: [push, pull_request]
jobs:
Linting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install venv
run: |
. ./pdt configure-venv
- name: Analysing the code with Flake8
run: |
. ./pdt activate 1>/dev/null && python-lint
Unit_Tests:
needs: Linting
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install venv
run: |
. ./pdt configure-venv
- name: Forcing ~/.aws/config with test profile
run: |
. ./pdt activate 1>/dev/null && _aws-force-config-and-test-profile
- name: Run Pytest
run: |
. ./pdt activate 1>/dev/null && python-test