Run the tests as part of CI
- ID
936d981- date
2023-12-10 10:59:19+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
2b65a4c- message
Run the tests as part of CI- changed files
4 files, 12 additions, 1 deletion
Changed files
.github/workflows/test.yml (943) → .github/workflows/test.yml (1068)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0d42d05..e58febd 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -35,3 +35,7 @@ jobs:
# by black and I don't have a strong opinion on, so I'm going to trust
# black and have flake8 ignore it.
flake8 --ignore=E501,W503
+ - name: Run tests
+ run: |
+ py.test aws/test_s3tree.py
+ py.test textexpander/test_get_mastodon_text.py
aws/s3tree.py (6373) → aws/s3tree.py (6331)
diff --git a/aws/s3tree.py b/aws/s3tree.py
index 6c82c01..5c6602e 100755
--- a/aws/s3tree.py
+++ b/aws/s3tree.py
@@ -46,7 +46,7 @@ from typing import List
import attr
import humanize
-import natsort # pip3 install --user naturalsort==1.5.1
+import natsort
import termcolor
from _common import create_link_text, create_s3_session, parse_s3_uri
requirements.in (99) → requirements.in (130)
diff --git a/requirements.in b/requirements.in
index 1077b60..038293f 100644
--- a/requirements.in
+++ b/requirements.in
@@ -1,9 +1,12 @@
+attrs
black
+boto3
flake8
httpx
humanize
hyperlink
keyring
+naturalsort==1.5.1
Pillow
pillow_heif
pip-tools
requirements.txt (1982) → requirements.txt (2073)
diff --git a/requirements.txt b/requirements.txt
index 983181a..a9c80cf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,6 +6,8 @@
#
anyio==4.1.0
# via httpx
+attrs==23.1.0
+ # via -r requirements.in
black==23.11.0
# via -r requirements.in
brotli==1.1.0
@@ -56,6 +58,8 @@ mutagen==1.47.0
# via yt-dlp
mypy-extensions==1.0.0
# via black
+naturalsort==1.5.1
+ # via -r requirements.in
packaging==23.2
# via
# black