Skip to content

Commit 15ee4f0

Browse files
authored
Merge pull request #2 from DemetrioReyes/requirements-tests
run tests in CI add missing networkx dependency
2 parents c5cdece + c109ff4 commit 15ee4f0

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.github/workflows/run-tests.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: unit-tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
unit-tests:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
python-version: [3.9.18, 3.10.13, 3.11.6, 3.12.1, 3.13.0]
15+
continue-on-error: true
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Set up Python ${{ matrix.python-version }} and UV
23+
uses: astral-sh/setup-uv@v5
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
27+
- name: Install dependencies with UV
28+
run: |
29+
uv pip install -r requirements.txt
30+
31+
- name: Run unit tests
32+
run: uv python -m pytest tests/

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
numpy
22
pandas
33
codeflash
4-
4+
networkx

0 commit comments

Comments
 (0)