We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64c2d10 commit d641312Copy full SHA for d641312
.github/workflows/cpu-tests.yml
@@ -0,0 +1,27 @@
1
+name: CPU Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v3
18
+ with:
19
+ python-version: "3.x"
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install pytest
24
+ pip install .[p2p]
25
+ - name: Do CPU tests with pytest
26
27
+ pytest -v -m "cpu" tests/
0 commit comments