Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
setup ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mbalatsko committed Sep 19, 2023
1 parent 94f350b commit d509886
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 6 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/run-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run CI

on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make install
- name: Run tests
run: |
make test
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
install:
pip install -e .[all]

upgrade:
pip install --upgrade -e .[all]

test:
python -m pytest
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ pip install pykalman-bardo
Alternatively, you can setup from source:

```bash
# pip
pip install -e .

# poetry
poetry pyproject.toml
pip install .
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Documentation = "https://pykalman.github.io/"
file = "COPYING"

[build-system]
requires = ["setuptools", "wheel", "toml", "build"]
requires = ["setuptools", "wheel", "build"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
Expand Down

0 comments on commit d509886

Please sign in to comment.