We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f630c3a commit 6b93935Copy full SHA for 6b93935
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+# Main CI pipeline of the repository.
3
+#
4
+# Overview:
5
+# Lint --> test doc build -\
6
+# \-> test code ---> deploy docs (*) -> release (**)
7
8
+# (*): only on push of primary branches + release tags
9
+# (**): only for release version tags (vX.Y.Z)
10
+
11
+on:
12
+ push:
13
+ branches: [main, dev]
14
+ tags: ["v*.*.*"]
15
+ pull_request:
16
+ types: [opened, reopened, synchronize, ready_for_review]
17
18
+jobs:
19
+ publish:
20
+ # if a version tag is pushed + tests + docs completed -> do release
21
+ # needs: docs
22
+ if: startswith(github.ref, 'refs/tags/v')
23
+ permissions:
24
+ contents: write # for GitHub release
25
+ id-token: write # for PyPI release
26
27
+ uses: "./.github/workflows/release.yml"
28
+ with:
29
+ to_github: true
30
+ to_test_pypi: true
31
+ to_pypi: true
0 commit comments