Skip to content

Commit 2645406

Browse files
committed
DX: run all CI tasks through poe
1 parent e9f4bcf commit 2645406

3 files changed

Lines changed: 7 additions & 32 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ on:
1212
- main
1313
- epic/*
1414
workflow_dispatch:
15-
inputs:
16-
specific-pip-packages:
17-
description: Run benchmarks with specific pip packages
18-
required: false
19-
type: string
2015

2116
jobs:
2217
benchmark:

.github/workflows/ci.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ on:
1717
- epic/*
1818
- "[0-9]+.[0-9]+.x"
1919
workflow_dispatch:
20-
inputs:
21-
specific-pip-packages:
22-
description: Run CI with specific pip packages
23-
required: false
24-
type: string
2520

2621
jobs:
2722
doc:
@@ -31,20 +26,15 @@ jobs:
3126
id-token: write
3227
with:
3328
apt-packages: graphviz
34-
specific-pip-packages: ${{ inputs.specific-pip-packages }}
35-
pytest:
36-
uses: ComPWA/actions/.github/workflows/pytest.yml@v3.0
29+
style:
30+
secrets:
31+
token: ${{ secrets.PAT }}
32+
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v3.0
33+
test:
34+
uses: ComPWA/actions/.github/workflows/test.yml@v3.0
3735
with:
38-
additional-extras: jax numba pwa
39-
coverage-target: tensorwaves
4036
macos-python-version: "3.10"
4137
multithreaded: false
42-
specific-pip-packages: ${{ inputs.specific-pip-packages }}
4338
test-output-path: tests/output/
4439
secrets:
4540
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
46-
style:
47-
if: inputs.specific-pip-packages == ''
48-
secrets:
49-
token: ${{ secrets.PAT }}
50-
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v3.0

.pre-commit-config.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ repos:
1616
- repo: https://github.com/ComPWA/policy
1717
rev: 0.8.2rc0
1818
hooks:
19-
- id: check-dev-files
20-
args:
21-
- --doc-apt-packages=graphviz
22-
- --excluded-python-versions=3.14
23-
- --pytest-single-threaded
24-
- --repo-name=tensorwaves
25-
- --repo-title=TensorWaves
26-
- --ci-test-extras=jax,numba,pwa
27-
- --type-checker=ty
28-
- --update-lock-files=outsource
2919
- id: colab-toc-visible
3020
- id: fix-nbformat-version
3121
- id: remove-empty-tags
@@ -148,7 +138,7 @@ repos:
148138
- id: ty
149139
name: ty
150140
entry: ty check
151-
args: [--output-format=concise]
141+
args: [--no-progress, --output-format=concise]
152142
require_serial: true
153143
language: system
154144
types_or: [python, pyi, jupyter]

0 commit comments

Comments
 (0)