Skip to content

[CI] Add unittest workflow for PaddlePaddle #1

[CI] Add unittest workflow for PaddlePaddle

[CI] Add unittest workflow for PaddlePaddle #1

Workflow file for this run

name: CI Paddle
on:
push:
branches: [paddle]
tags: ["v*"]
pull_request:
merge_group:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
test:
name: Test
runs-on:
group: H20
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 1
submodules: recursive
- name: Setup Python and uv with caching
id: setup-uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
activate-environment: true
- name: Run tests
run: |
uv run --no-project --with=test -m -- pytest tests/