Skip to content

Commit

Permalink
establishing CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Warsame committed Sep 13, 2025
1 parent 0fa363f commit 8fe63af
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
tests:
name: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8 mypy pytest coverage
- name: Lint with flake8
run: flake8 .

- name: Type check with mypy
run: mypy --strict .

- name: Run tests with pytest
run: pytest --cov=.

0 comments on commit 8fe63af

Please sign in to comment.