Skip to content

Commit

Permalink
List content of directory in the CI step.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgautier committed Dec 8, 2024
1 parent 1c85f21 commit 38d0d91
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ jobs:
path: dist/
- name: Source package path.
shell: bash
run: echo "SRC_DIST=$(ls -1 dist/*.tar.gz | tail -n 1)" >> $GITHUB_ENV
run: |
ls .
ls dist/
echo "SRC_DIST=$(ls -1 dist/*.tar.gz | tail -n 1)" >> $GITHUB_ENV
- name: Test
run: |
${{ matrix.venv_activate }}
python -m pip install $SRC_DIST'[test_minimal]'
python -m pip install "${SRC_DIST}"'[test_minimal]'
pytest src/tests/

0 comments on commit 38d0d91

Please sign in to comment.