We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fef5b51 commit 8614f06Copy full SHA for 8614f06
2 files changed
.github/workflows/lint.yml
@@ -0,0 +1,18 @@
1
+name: Lint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ lint:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ - name: Set up Python
11
+ uses: actions/setup-python@v5
12
+ with:
13
+ python-version: "3.13"
14
+ cache: pip
15
+ - name: Install dependencies
16
+ run: pip install .[dev]
17
+ - name: Run pre-commit checks
18
+ run: pre-commit run --all-files --show-diff-on-failure
.github/workflows/tests.yml
@@ -19,8 +19,5 @@ jobs:
19
cache: pip
20
- name: Install dependencies
21
run: pip install .[dev]
22
- - name: Run pre-commit checks
23
- if: startsWith(matrix.os, 'ubuntu-')
24
- run: pre-commit run --all-files --show-diff-on-failure
25
- name: Run tests
26
run: pytest --cov=cloudnet_submit
0 commit comments