Skip to content

Commit

Permalink
Update test-execution.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gahan9 authored Jan 25, 2024
1 parent dd40205 commit 125be34
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test-execution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,25 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.4.0
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f test_requirements.txt ]; then pip install -r test_requirements.txt; fi
poetry install --with dev
- name: Build wheel
run: |
poetry build
- name: Install wheel
run: |
python -m pip install dist/*.whl
- name: Install Package
run: |
python -m poetry install
- name: Test Execution of CommonTest with pytest
run: |
pytest -q tests/CommonTests.py --junit-xml results.xml
pytest -q tests/CommonTests.py --junit-xml test-results.xml

0 comments on commit 125be34

Please sign in to comment.