Skip to content

Commit

Permalink
feat: added a comprehensive test for the module
Browse files Browse the repository at this point in the history
Signed-off-by: HanslettTheDev <[email protected]>
  • Loading branch information
HanslettTheDev committed Oct 3, 2023
1 parent e6407f0 commit 54470b5
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 54470b5

Please sign in to comment.