Skip to content

Commit e57771b

Browse files
committed
update test and remove trigger on push
1 parent 884ffc7 commit e57771b

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.github/workflows/run_tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
name: Run Tests
1+
name: Daily Run Tests on PyPI Wheels
22

3-
on:
4-
push:
5-
branches: ["main"]
3+
on:
64
workflow_dispatch:
7-
pull_request:
8-
types: [opened, synchronize, ready_for_review]
5+
schedule:
6+
- cron: '0 16 * * *' # Trigger at 4PM every day
97

108
jobs:
119
run_unit_tests:

tests/README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,20 @@
22

33
To run the tests first install `pytest`:
44

5-
```pip install pytest```
5+
```
6+
pip install pytest
7+
```
68

7-
Then `cd` into the fastdup repo root directory and run:
9+
Then `cd` into the fastdup site-packages root directory.
810

9-
```pytest```
11+
For example
12+
13+
```
14+
cd /home/dnth/anaconda3/envs/tests/lib/python3.10/site-packages/fastdup
15+
```
16+
17+
and run:
18+
19+
```
20+
pytest
21+
```

0 commit comments

Comments
 (0)