Skip to content

Commit 3347bed

Browse files
committed
Fix test.yml
1 parent f7e129e commit 3347bed

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,21 @@ jobs:
1818
with:
1919
python-version: "3.10"
2020

21-
- name: Install dependencies
21+
- name: Install dependencies and package
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install hatch
24+
pip install -e .
2525
2626
- name: Run --help command
27-
run: hatch run cli --help
27+
run: fetchbin --help
2828

2929
- name: Run --version command
30-
run: hatch run cli --version
30+
run: fetchbin --version
3131

3232
- name: Share output and extract delete token
3333
id: share
3434
run: |
35-
export FETCHBIN_API_URL=https://fetchbin.beucismis.org
36-
output=$(hatch run cli share -s uname -a)
35+
output=$(fetchbin share -s uname -a)
3736
echo "$output"
3837
delete_url=$(echo "$output" | grep 'Delete URL' | awk '{print $3}')
3938
@@ -55,5 +54,4 @@ jobs:
5554
fi
5655
5756
echo "Attempting to delete with token: $token"
58-
export FETCHBIN_API_URL=https://fetchbin.beucismis.org
59-
hatch run cli delete "$token"
57+
fetchbin delete "$token"

0 commit comments

Comments
 (0)