Skip to content

Commit 803e67f

Browse files
committed
Simplify CI
1 parent fe20b8f commit 803e67f

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/pull_request.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
CI: true # Enable pytest CI mode
2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2525

2626
- name: Install uv
27-
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
27+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
2828
with:
2929
version-file: pyproject.toml
3030
resolution-strategy: lowest
3131

3232
- name: Install Python
33-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
33+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3434
with:
3535
python-version-file: .python-version
3636

@@ -40,24 +40,17 @@ jobs:
4040
uv sync --locked
4141
shell: bash
4242

43-
- name: Install Python packages2
44-
run: |
45-
uv sync --locked
46-
shell: bash
47-
4843
- name: Check code
49-
env:
50-
UV_FROZEN: true
5144
run: make check-code
5245
shell: bash
5346

5447
- name: Unit tests
55-
run: uv run --frozen -- pytest --cov=python_template --cov-branch tests/unit
48+
run: uv run -- pytest --cov=python_template --cov-branch tests/unit
5649
shell: bash
5750

5851
- name: Integration tests
5952
if: false
60-
run: uv run --frozen -- pytest --cov=python_template --cov-branch --cov-append tests/integration
53+
run: uv run -- pytest --cov=python_template --cov-branch --cov-append tests/integration
6154
shell: bash
6255

6356
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)