Skip to main content

Try to auto-detect test files in GitHub Actions

ID
87e69ed
date
2024-03-18 07:39:56+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
ae1500b
message
Try to auto-detect test files in GitHub Actions
changed files
1 file, 1 addition, 6 deletions

Changed files

.github/workflows/test.yml (1214) → .github/workflows/test.yml (1018)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index bbe8dae..b72bfaa 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -38,9 +38,4 @@ jobs:
 
     - name: Run tests
       run: |
-        py.test aws/test_s3tree.py
-        py.test flickr/test_fluser_lookup.py
-        py.test text/test_fix_twitter_thread.py
-        py.test textexpander/test_get_mastodon_text.py
-        py.test web/test_save_ao3_links.py
-        py.test web/test_save_youtube_videos.py
+        find . -name 'test_*.py' -not -path './.venv/*' | sort | xargs pytest