Skip to content

Commit

Permalink
checkout the test files for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Weber authored and Lucas Weber committed Apr 19, 2024
1 parent 6412ea8 commit fb48799
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

# https://github.com/actions/checkout#fetch-only-a-single-file
# get only the test files for the test of the installed package
- name: Get the test scripts from the original repository
uses: actions/checkout@v4
with:
sparse-checkout: |
tests
- name: Install dependencies
# https://packaging.python.org/en/latest/guides/using-testpypi/
run: |
Expand Down

0 comments on commit fb48799

Please sign in to comment.