We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 704a4dc commit c76c7e8Copy full SHA for c76c7e8
.github/workflows/ci.yml
@@ -3,7 +3,9 @@ name: Simple CI
3
# Triggers
4
on:
5
push:
6
+ branches: [ main ]
7
pull_request:
8
9
10
# Jobs
11
# with one CI pipeline multiple environment configurations can be validated
@@ -18,7 +20,9 @@ jobs:
18
20
with:
19
21
python-version: "3.11"
22
- name: Install dependencies
- run: pip install -r requirements.txt
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install ruff
26
- name: Run lint
27
run: ruff check .
28
@@ -36,6 +40,8 @@ jobs:
36
40
37
41
python-version: ${{ matrix.python-version }}
38
42
39
43
44
45
+ pip install -r requirements.txt
46
- name: Run tests
47
run: pytest
0 commit comments