update template file #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test CLI App Packaging | |
on: [push] | |
jobs: | |
test-packaging: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install hatch | |
run: pip install hatch | |
- name: Build project | |
run: hatch build | |
- name: Install uv | |
run: pip install uv | |
- name: Create uv venv | |
run: | | |
uv venv | |
. .venv/bin/activate | |
- name: Install package using uv | |
run: | | |
uv pip install dist/*.tar.gz | |
- name: Download test file | |
run: | | |
wget "https://filedn.eu/loRXwzWCNnU4XoFPGbllt1y/datafile_1.ptu" -O tests/test_data/input/ds1/datafile_1.ptu | |
- name: Run dont fret serve | |
run: | | |
dont-fret process tests/test_data/input/ds1/datafile_1.ptu |