We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4056176 commit 426606bCopy full SHA for 426606b
1 file changed
.github/workflows/python-package.yml
@@ -0,0 +1,39 @@
1
+name: Python Catalyst Test
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"]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
21
+ - name: Set up Python ${{ matrix.python-version }}
22
+ uses: actions/setup-python@v5
23
24
+ python-version: ${{ matrix.python-version }}
25
26
+ - name: Install dependencies
27
+ run: |
28
+ python -m pip install --upgrade pip
29
+ pip install -r requirements-dev.txt
30
+ pip install pre-commit
31
32
+ - name: Run pre-commit hooks
33
34
+ pre-commit install
35
+ pre-commit run --all-files --hook-stage manual
36
37
+ - name: Run pytest
38
39
+ pytest .
0 commit comments