Skip to content

Commit e77ee20

Browse files
jeremymanningclaude
andcommitted
Add GitHub Actions workflow for automated pytest execution
- Created .github/workflows/tests.yml - Configured to run pytest on Python 3.8-3.11 - Triggers on push/PR to master branch - Installs dependencies and runs tests in tests/ directory - Does not include linters per user request 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7c05482 commit e77ee20

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [3.8, 3.9, '3.10', '3.11']
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install pytest
28+
pip install -r requirements.txt
29+
pip install -e .
30+
31+
- name: Run tests with pytest
32+
run: |
33+
pytest tests/ -v

0 commit comments

Comments
 (0)