Skip to content

added staging ci check #4

added staging ci check

added staging ci check #4

Workflow file for this run

name: Staged CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install poetry
poetry install --no-root --with=dev
- name: Run Pre-commit
run: |
poetry run pre-commit run --all-files
- name: Run tests
run: |
poetry run pytest