Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .github/workflows/install_check.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,30 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

prod_checks:
runs-on: ubuntu-latest
needs: deploy
steps:
- uses: actions/setup-python@v5
- name: Install public-hello
run: |
python -m pip install --upgrade pip
pip install public-hello --extra-index-url https://astariul.github.io/github-hosted-pypi/

# Check if the package and its dependency was installed
pip show public-hello
pip show mydependency

# The code from the package should be accessible
python -c "from public_hello import hi; assert hi() == 'Hello world from public repository (with a dependency)'"
- name: Install public-hello older version
run: |
python -m pip install --upgrade pip
pip install public-hello==0.1 --extra-index-url https://astariul.github.io/github-hosted-pypi/

# Check if the package was installed
pip show public-hello

# The code from the package should be accessible
python -c "from public_hello import hi; assert hi() == 'Hello world from public repository'"