@@ -13,22 +13,22 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v6
16+ - uses : actions/checkout@v6
1717
18- - name : set up uv
19- uses : astral-sh/setup-uv@v7
20- with :
21- python-version : ' 3.12'
18+ - name : set up uv
19+ uses : astral-sh/setup-uv@v7
20+ with :
21+ python-version : ' 3.12'
2222
23- - name : Install dependencies
24- # Installing pip is required for the pre-commit action:
25- run : |
26- uv sync --group linting --all-extras
27- uv pip install pip
23+ - name : Install dependencies
24+ # Installing pip is required for the pre-commit action:
25+ run : |
26+ uv sync --group linting --all-extras
27+ uv pip install pip
2828
29- - uses : pre-commit/action@v3.0.1
30- with :
31- extra_args : --all-files
29+ - uses : pre-commit/action@v3.0.1
30+ with :
31+ extra_args : --all-files
3232
3333 test :
3434 name : test py${{ matrix.python }} on ${{ matrix.os }}
@@ -46,40 +46,40 @@ jobs:
4646 runs-on : ${{ matrix.os }}
4747
4848 steps :
49- - uses : actions/checkout@v6
49+ - uses : actions/checkout@v6
5050
51- - name : set up uv
52- uses : astral-sh/setup-uv@v7
53- with :
54- python-version : ${{ matrix.python }}
51+ - name : set up uv
52+ uses : astral-sh/setup-uv@v7
53+ with :
54+ python-version : ${{ matrix.python }}
5555
56- - name : Install dependencies
57- run : |
58- uv sync --group testing --all-extras
56+ - name : Install dependencies
57+ run : |
58+ uv sync --group testing --all-extras
5959
60- - run : mkdir coverage
60+ - run : mkdir coverage
6161
62- - name : test
63- run : make test
64- env :
65- COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python }}
66- CONTEXT : ${{ runner.os }}-py${{ matrix.python }}
62+ - name : test
63+ run : make test
64+ env :
65+ COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python }}
66+ CONTEXT : ${{ runner.os }}-py${{ matrix.python }}
6767
68- - name : uninstall deps
69- run : uv pip uninstall PyYAML
68+ - name : uninstall deps
69+ run : uv pip uninstall PyYAML
7070
71- - name : test without deps
72- run : make test
73- env :
74- COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python }}-without-deps
75- CONTEXT : ${{ runner.os }}-py${{ matrix.python }}-without-deps
71+ - name : test without deps
72+ run : make test
73+ env :
74+ COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python }}-without-deps
75+ CONTEXT : ${{ runner.os }}-py${{ matrix.python }}-without-deps
7676
77- - name : store coverage files
78- uses : actions/upload-artifact@v7
79- with :
80- name : coverage-${{ matrix.python }}-${{ runner.os }}
81- path : coverage
82- include-hidden-files : true
77+ - name : store coverage files
78+ uses : actions/upload-artifact@v7
79+ with :
80+ name : coverage-${{ matrix.python }}-${{ runner.os }}
81+ path : coverage
82+ include-hidden-files : true
8383
8484 coverage :
8585 runs-on : ubuntu-latest
@@ -125,7 +125,7 @@ jobs:
125125
126126 - run : uv run coverage report --fail-under 98
127127
128- check : # This job does nothing and is only used for the branch protection
128+ check : # This job does nothing and is only used for the branch protection
129129 if : always()
130130 needs : [lint, test, coverage]
131131 runs-on : ubuntu-latest
0 commit comments