Skip to content

Update to use the native gitrunner #2

Update to use the native gitrunner

Update to use the native gitrunner #2

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- github-ci
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install poetry
poetry install --with dev
- name: Run tests
run: |
poetry run pytest app
continue-on-error: false
- name: Run Bandit for security analysis
run: |
poetry run bandit -r app
continue-on-error: false
- name: Run Ruff for linting
run: |
poetry run ruff .
continue-on-error: false