-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 920 Bytes
/
python_package.yml
File metadata and controls
36 lines (30 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Python toolkit checks
on:
push:
workflow_call:
env:
UV_VERSION: 0.9.5
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
PYTHON_VERSION: ["3.12", "3.13"]
steps:
- name: Checkout from GitHub
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install uv
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
with:
version: ${{ env.UV_VERSION }}
python-version: ${{ matrix.PYTHON_VERSION }}
enable-cache: 'true'
cache-suffix: ${{ matrix.PYTHON_VERSION }}
- name: Set up Java
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: '11'
- name: Test the library
run: |
uv run --directory divref --locked poe check-all