File tree 1 file changed +8
-17
lines changed
1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
name : Build distribution 📦
10
10
runs-on : ubuntu-latest
11
+ timeout-minutes : 30
11
12
12
13
steps :
13
14
- uses : actions/checkout@v4
@@ -29,22 +30,11 @@ jobs:
29
30
AUTHSIGNAL_API_SECRET : ${{ secrets.AUTHSIGNAL_API_SECRET }}
30
31
run : poetry run python -m authsignal.client_tests
31
32
32
- - name : Verify package structure
33
+ - name : Build and store main distribution
33
34
run : |
34
- pip install check-manifest
35
- check-manifest
36
-
37
- - name : Build main distribution
38
- run : python3 -m build
39
-
40
- - name : Test package installation
41
- run : |
42
- python -m venv test_env
43
- source test_env/bin/activate
44
- pip install dist/*.whl
45
- # Add a basic import test here
46
- deactivate
47
-
35
+ poetry build
36
+ ls -la dist/
37
+
48
38
- name : Store main distribution packages
49
39
uses : actions/upload-artifact@v4
50
40
with :
@@ -60,10 +50,11 @@ jobs:
60
50
export PYTHONPATH=${PYTHONPATH}:$(pwd)/authsignal
61
51
echo "BASE_VERSION=$(python -c 'from version import VERSION; print(VERSION)')" >> $GITHUB_ENV
62
52
63
- - name : Build TestPyPI distribution
53
+ - name : Build and store TestPyPI distribution
64
54
run : |
65
55
poetry version "${BASE_VERSION}.dev$(date +%s)"
66
- python3 -m build
56
+ poetry build
57
+ ls -la dist/
67
58
68
59
- name : Store test distribution packages
69
60
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments