Skip to content

Commit

Permalink
馃懛 Fix current working directory to test redistribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Mar 30, 2024
1 parent a4d2021 commit 30ee488
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-redistribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
- ./
- typer_package
- typer_cli_package
defaults:
run:
working-directory: ${{ matrix.package_dir }}
steps:
- name: Dump GitHub context
env:
Expand All @@ -37,8 +34,10 @@ jobs:
- name: Install build dependencies
run: pip install build
- name: Build source distribution
working-directory: ${{ matrix.package_dir }}
run: python -m build --sdist
- name: Decompress source distribution
working-directory: ${{ matrix.package_dir }}
run: |
cd dist
tar xvf typer*.tar.gz
Expand All @@ -53,6 +52,7 @@ jobs:
cd dist/typer-*/
bash scripts/test.sh
- name: Build wheel distribution
working-directory: ${{ matrix.package_dir }}
run: |
cd dist
pip wheel --no-deps typer-*.tar.gz
Expand Down

0 comments on commit 30ee488

Please sign in to comment.