Skip to content

Merge branch 'release/0.1.0-pre' #26

Merge branch 'release/0.1.0-pre'

Merge branch 'release/0.1.0-pre' #26

Workflow file for this run

name: test & lint
on: [push]
permissions:
contents: read
jobs:
build:
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: Install dependencies
run: |
poetry install --no-interaction --no-root
- 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