Skip to content

Commit 1c425d2

Browse files
committed
WIP
1 parent 13104fd commit 1c425d2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
name: CI workflow for python projects
22

33
# Run the CI test workflow of jobs which includes:
4-
# - `check`: Run static code checks (using `mypy`, `ruff`, etc.).
5-
# - `test`: Run tests (and code checks) using `tox`.
4+
# - `test`: Run tests (including code checks) using `tox`.
65
# - `build`: Build the python package.
76
# - `publish-test`: Publish the package to test.pypi.org.
87
# - `publish`: Publish the package to pypi.org (runs `publish-test`).
98
# - `release`: Create a GitHub release.
109

11-
on:
12-
push:
13-
branches: ["**"] # Push commits to any branch
14-
tags: ["v[0-9]*"] # Publish on tags matching "v*", eg. "v1.0.0"
15-
workflow_dispatch: # Allow manual triggering of the workflow
16-
1710
# Configure the workflows here. Each environment variable name should be a
1811
# wildcard matching the
1912
# `on-<github.event_name>-<github.ref_type>-<github.ref_name>` format. For
@@ -39,6 +32,12 @@ env:
3932
python-version=["3.9", "3.13"]
4033
os=["ubuntu-latest"]
4134
35+
on:
36+
push:
37+
branches: ["**"] # Push commits to any branch
38+
tags: ["v[0-9]*"] # Publish on tags matching "v*", eg. "v1.0.0"
39+
workflow_dispatch: # Allow manual triggering of the workflow
40+
4241
jobs:
4342
config: # Select the workflow config based on the event trigger.
4443
name: Configure workflow

0 commit comments

Comments
 (0)