Skip to content

Commit

Permalink
ci: list installed packages for throubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
juarezr committed Mar 14, 2024
1 parent 9ddedc5 commit 488e71a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,23 @@ jobs:
- name: Setup petl package
run: python setup.py sdist bdist_wheel

- name: Install extra packages dependencies for mode full
if: env.testing == 'full'
run: python -m pip install --prefer-binary -r requirements-formats.txt

- name: List Installed Packages for Throubleshooting
run: |
echo "::group::List Installed Packages for Throubleshooting"
python -m pip list --format freeze
echo "::endgroup::"
- name: Test python source code for mode simple
if: env.testing == 'simple'
run: pytest --cov=petl petl

- name: Test documentation inside source code for mode full
if: env.testing == 'full'
run: |
echo "::group::Install extra packages test dependencies"
python -m pip install --prefer-binary -r requirements-formats.txt
echo "::endgroup::"
echo "::group::Perform doctest-modules execution with coverage"
pytest --doctest-modules --cov=petl petl
echo "::endgroup::"
Expand Down

0 comments on commit 488e71a

Please sign in to comment.