Skip to content

Commit 1a635dc

Browse files
authored
Use pytest (#132)
1 parent f33aae8 commit 1a635dc

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222

2323
- name: Run tests
24-
run: uv run --with python-dateutil --with six test.py
24+
run: scripts/test
2525

2626
# https://github.com/marketplace/actions/alls-green#why used for branch protection checks
2727
check:

scripts/test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh -e
2+
3+
set -x # print executed commands to the terminal
4+
5+
uvx --with python-dateutil --with six pytest "${@}"

test.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)