We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad15b3 commit 1d255a6Copy full SHA for 1d255a6
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: Test everything
2
+
3
+on:
4
+ schedule:
5
+ # Weekly, at 03:00 on Monday UTC
6
+ - cron: "0 3 * * 1"
7
+ pull_request:
8
+ push:
9
+ branches:
10
+ - main
11
+ workflow_dispatch:
12
13
+jobs:
14
+ test:
15
+ runs-on: ubuntu-24.04
16
+ timeout-minutes: 5
17
18
+ steps:
19
+ - name: Checkout Repo ⚡️
20
+ uses: actions/checkout@v4
21
+ with:
22
+ fetch-depth: 0
23
24
+ - name: Set Up Python 🐍
25
+ uses: actions/setup-python@v5
26
27
+ python-version: 3.12
28
29
+ - name: Build Python Extension 🛠️
30
+ run: python3 src/setup.py build
31
+ - name: Install Python Extension 📦
32
+ run: python3 src/setup.py install
33
34
+ - name: Run Benchmarks 📊
35
+ run: python3 -m pytest tests/test_benchmark.py --verbose
0 commit comments