Skip to content

Commit

Permalink
Add GitHub action for continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
postrational committed Nov 10, 2024
1 parent 45663ba commit c7f9914
Show file tree
Hide file tree
Showing 3 changed files with 294 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/run-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-24.04

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install using Poetry
run: |
pip install poetry
poetry install
- name: Run tests
run: |
poetry run ruff format --check src
poetry run ruff check src
poetry run mypy src
poetry run muffin --version
Loading

0 comments on commit c7f9914

Please sign in to comment.