Skip to content

Bump google-re2 from 1.0 to 1.1 #110

Bump google-re2 from 1.0 to 1.1

Bump google-re2 from 1.0 to 1.1 #110

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