Skip to content

[Snyk] Security upgrade urllib3 from 2.0.6 to 2.0.7 #306

[Snyk] Security upgrade urllib3 from 2.0.6 to 2.0.7

[Snyk] Security upgrade urllib3 from 2.0.6 to 2.0.7 #306

Workflow file for this run

name: Python Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
python-version:
- "3.11"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install '.[dev]'
- name: Lint with ruff
run: ruff check .
- name: Load .env file into environment
uses: cardinalby/export-env-action@v2
with:
envFile: '.env'
expand: true
- name: Create DB Container
run: docker compose up --build -V -d
- name: Test with pytest
run: pytest --cov=swoop --cov-report=xml
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
verbose: true