Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Tatzel committed Jun 14, 2024
1 parent 32e399c commit 9028839
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Python package

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

jobs:
test:

runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8' # Specify the Python version you want to use

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -e ".[tests]"
pip install -e ".[examples]"
- name: Run tests
run: |
pytest

0 comments on commit 9028839

Please sign in to comment.