We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77cb94e commit 3fc54ecCopy full SHA for 3fc54ec
1 file changed
.github/workflows/release.yml
@@ -7,8 +7,27 @@ on:
7
- prereleased
8
9
jobs:
10
+ test-package:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ id-token: write
14
+ contents: read
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: setup python
18
+ uses: actions/setup-python@v3
19
+ with:
20
+ python-version: 3.11
21
+ - name: Install SDK
22
+ run: |
23
+ pip install -e .
24
+ - name: Run basic import
25
26
+ python -c "import crowdsec_service_api"
27
+
28
publish-on-pypi:
29
name: Publish to PyPI
30
+ needs: test-package
31
runs-on: ubuntu-latest
32
environment:
33
name: pypi
0 commit comments