We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad28f0 commit a45d43cCopy full SHA for a45d43c
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,37 @@
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
+ strategy:
13
+ matrix:
14
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Set up Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v5
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 -e .
28
+ pip install pytest ruff
29
30
+ - name: Check formatting with ruff
31
+ run: ruff format --check .
32
33
+ - name: Lint with ruff
34
+ run: ruff check .
35
36
+ - name: Run mocked tests
37
+ run: pytest tests/test_cufile_mock.py -v
0 commit comments