Skip to content

Bump black from 23.3.0 to 23.7.0 #101

Bump black from 23.3.0 to 23.7.0

Bump black from 23.3.0 to 23.7.0 #101

Workflow file for this run

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 }}