Skip to content

Commit 92d1bf7

Browse files
Merge branch 'main' into fix-ci-tests
2 parents 71f277f + 26417a3 commit 92d1bf7

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run tests
2+
3+
on: push
4+
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Clone repository
10+
uses: actions/checkout@v6
11+
# https://github.com/actions/setup-python
12+
- name: Install Python
13+
uses: actions/setup-python@v6
14+
with:
15+
python-version: "3.14"
16+
cache: pip
17+
- name: Install dependencies
18+
run: pip install -r requirements.txt
19+
- name: Run tests
20+
# https://pytest-cov.readthedocs.io/en/latest/readme.html
21+
run: pytest --cov
22+
# https://github.com/astral-sh/ruff-action
23+
- name: Run ruff
24+
uses: astral-sh/ruff-action@v3
25+
with:
26+
version: latest

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ ipykernel
55
requests
66
streamlit>=1.36.0
77
pytest>=7.0.0
8-
pytest-cov
8+
pytest-cov

0 commit comments

Comments
 (0)