Bump pydantic from 2.0.1 to 2.0.3 #103
Workflow file for this run
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: CI | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
test_n_lint: | |
runs-on: [ubuntu-latest] | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
poetry-version: ["1.5"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install poetry ${{ matrix.poetry-version }} | |
run: | | |
pipx install "poetry~=${{ matrix.poetry-version }}" | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "poetry" # cache dependencies | |
- name: Debug environment details | |
run: | | |
poetry debug info | |
- name: Install dependencies | |
run: | | |
poetry install --no-interaction --no-root | |
poetry show | |
- name: Test with pytest & pytest-cov | |
env: | |
FC_TEST_POSTGRES_DEFAULT_DB_CONNINFO: ${{ secrets.FC_TEST_POSTGRES_DEFAULT_DB_CONNINFO }} | |
run: | | |
poetry run poe test | |
- name: Send coverage results to coveralls.io | |
if: github.repository == 'juanmirocks/fastchecks' | |
uses: coverallsapp/github-action@v2 | |
- name: Lint with multiple tasks, including security checks | |
run: | | |
poetry run poe lint_all | |
- name: Run Snyk to check for vulnerabilities | |
uses: snyk/actions/python-3.10@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |