Skip to content

Commit

Permalink
Added test of produced artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoRoos committed Sep 24, 2024
1 parent 7692b41 commit 42a06cd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,26 @@ jobs:
with:
name: package-all
path: dist

test_artifacts:
name: Test distributions
needs: make_artifact
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]

steps:
- uses: actions/download-artifact@v4
with:
name: package-all
path: dist

- uses: actions/setup-python@v5
with:
python-version: "3.12"

# Now install the package from the local wheels and try to use it:
- run: |
pip install pyads --no-index --find-links file://dist
python -c "import pyads; pyads.Connection(ams_net_id='127.0.0.1.1.1', ams_net_port=851)"

0 comments on commit 42a06cd

Please sign in to comment.