Skip to content

Commit

Permalink
Merge pull request #141 from HanslettTheDev/deploy-to-pypi
Browse files Browse the repository at this point in the history
Comprehensive test for deployed package
  • Loading branch information
reingart committed Oct 6, 2023
2 parents 8f8a5bf + 54470b5 commit 53acaab
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,33 @@ jobs:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Test PyAfipWs Upload
run: |
pip install -i https://test.pypi.org/simple/ PyAfipWs


test:
name: "Test Deployed PyAfipWs Package"
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.9, 3.11]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install PyAfipWs from PyPi
run: |
pip install -i https://test.pypi.org/simple/ PyAfipWs
- name: Download certificate and private key
run: |
wget "https://www.sistemasagiles.com.ar/soft/pyafipws/reingart2021.zip" -O reingart2019.zip
unzip reingart2019.zip
- name: Test WSAA servers
run: |
python -m pyafipws.wsaa
- name: Test WSFEV1
run: |
python -m pyafipws.wsfev1 --dummy

0 comments on commit 53acaab

Please sign in to comment.