-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (30 loc) · 888 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 and activate venv, install package
run: |
uv venv
source .venv/bin/activate
uv pip install dist/*.tar.gz
which dont-fret
- 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 process
run: |
source .venv/bin/activate
dont-fret process tests/test_data/input/ds1/datafile_1.ptu