1 parent 42e7299 commit b1361ccCopy full SHA for b1361cc
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,30 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v5
18
+ with:
19
+ python-version: "3.11"
20
21
+ - name: Install dependencies
22
+ run: |
23
+ pip install rewardguard==1.0.4 pygame==2.6.1 numpy==2.4.4 certifi==2026.4.22
24
+ pip install pytest
25
26
+ - name: Run tests
27
+ env:
28
+ SDL_VIDEODRIVER: dummy
29
+ SDL_AUDIODRIVER: dummy
30
+ run: pytest testcode.py -v --tb=short
0 commit comments