marked pydantic work as done #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |