File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
paths :
6
6
- ' **/*.py' # Watch for changes in any Python files
7
- - ' pyproject.yml ' # Watch for changes in the pyproject.yml file
7
+ - ' pyproject.toml ' # Watch for changes in the pyproject.toml file
8
8
workflow_dispatch :
9
9
release :
10
10
types : [published]
Original file line number Diff line number Diff line change 33
33
- name : Checkout
34
34
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35
35
36
- # https://docs.astral.sh/uv/guides/integration/github/
36
+ # https://docs.astral.sh/uv/guides/integration/github/
37
37
- name : Install uv and set the python version
38
38
uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
39
39
with :
Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
paths :
8
8
- ' **/*.py' # Watch for changes in any Python files
9
- - ' pyproject.yml ' # Watch for changes in the pyproject.yml file
9
+ - ' pyproject.toml ' # Watch for changes in the pyproject.toml file
10
10
push :
11
11
branches :
12
12
- master # Only run on push to master branch
13
13
paths :
14
14
- ' **/*.py' # Watch for changes in any Python files
15
- - ' pyproject.yml ' # Watch for changes in the pyproject.yml file
15
+ - ' pyproject.toml ' # Watch for changes in the pyproject.toml file
16
16
workflow_dispatch :
17
17
release :
18
18
types : [published]
@@ -140,14 +140,16 @@ jobs:
140
140
with :
141
141
name : coverage-3.9
142
142
143
- - name : Set up Python
144
- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
143
+ # https://docs.astral.sh/uv/guides/integration/github/
144
+ - name : Install uv and set the python version
145
+ uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
145
146
with :
146
147
python-version : ' 3.9' # Match with the coverage report Python version
148
+ activate-environment : true
147
149
148
150
- name : Install dependencies
149
151
run : |
150
- python -m pip install 'pip==25.0.1' 'coverage==7.8.0'
152
+ uv pip install .[dev]
151
153
152
154
- name : Check coverage
153
155
run : |
You can’t perform that action at this time.
0 commit comments