File tree Expand file tree Collapse file tree 2 files changed +27
-36
lines changed Expand file tree Collapse file tree 2 files changed +27
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 41
41
- name : Deploy to GitHub Pages
42
42
id : deployment
43
43
uses : actions/deploy-pages@v4
44
+
45
+ prod_checks :
46
+ runs-on : ubuntu-latest
47
+ needs : deploy
48
+ steps :
49
+ - uses : actions/setup-python@v5
50
+ - name : Install public-hello
51
+ run : |
52
+ python -m pip install --upgrade pip
53
+ pip install public-hello --extra-index-url https://astariul.github.io/github-hosted-pypi/
54
+
55
+ # Check if the package and its dependency was installed
56
+ pip show public-hello
57
+ pip show mydependency
58
+
59
+ # The code from the package should be accessible
60
+ python -c "from public_hello import hi; assert hi() == 'Hello world from public repository (with a dependency)'"
61
+ - name : Install public-hello older version
62
+ run : |
63
+ python -m pip install --upgrade pip
64
+ pip install public-hello==0.1 --extra-index-url https://astariul.github.io/github-hosted-pypi/
65
+
66
+ # Check if the package was installed
67
+ pip show public-hello
68
+
69
+ # The code from the package should be accessible
70
+ python -c "from public_hello import hi; assert hi() == 'Hello world from public repository'"
You can’t perform that action at this time.
0 commit comments