Skip to content

Commit

Permalink
add ci (#9)
Browse files Browse the repository at this point in the history
* add ci yaml file

* fix spelling in ci.yaml

* change ubuntu version in ci.yaml

* change ubuntu version in ci.yaml

* Update ci.yaml

* Update ci.yaml
  • Loading branch information
tato-g authored Oct 2, 2024
1 parent f23b70b commit 8c6b593
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Tests

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

jobs:
tests:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10.12'
- name: Install uv
run : curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Sync requirments
run : uv pip sync --system requirements.lock
- name: Run tests
run : pytest


0 comments on commit 8c6b593

Please sign in to comment.