Skip to content

Merge pull request #200 from art3xa/dependabot/pip/pydantic-settings-… #176

Merge pull request #200 from art3xa/dependabot/pip/pydantic-settings-…

Merge pull request #200 from art3xa/dependabot/pip/pydantic-settings-… #176

Workflow file for this run

name: Static Checks
on:
push:
branches:
- '*'
jobs:
style_check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: |
poetry config virtualenvs.create false
- name: Install dependencies
run: |
make install
- name: Style checking
run: |
make lint
security_checks:
needs: style_check
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: |
poetry config virtualenvs.create false
- name: Install dependencies
run: |
make install
- name: Security checks
run: |
make security_checks
tests:
needs: style_check
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry
run: |
poetry config virtualenvs.create false
- name: Install dependencies
run: |
make install
- name: stub env
run: |
cp .env.example .env
- name: Test coverage
run: |
make run-autotests