Skip to content

Commit

Permalink
Merge pull request #4 from alexwlchan/run-tests
Browse files Browse the repository at this point in the history
Run the tests as part of CI
  • Loading branch information
alexwlchan authored Dec 10, 2023
2 parents 2b65a4c + 31f1e5a commit 25dff6f
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion aws/s3tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

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
Expand Down
3 changes: 3 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
attrs
black
boto3
flake8
httpx
humanize
hyperlink
keyring
naturalsort==1.5.1
Pillow
pillow_heif
pip-tools
Expand Down
37 changes: 29 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.in
# pip-compile
#
anyio==4.1.0
# via httpx
attrs==23.1.0
# via -r requirements.in
black==23.11.0
# via -r requirements.in
boto3==1.33.11
# via -r requirements.in
botocore==1.33.11
# via
# boto3
# s3transfer
brotli==1.1.0
# via yt-dlp
build==1.0.3
Expand Down Expand Up @@ -36,7 +44,7 @@ humanize==4.9.0
# via -r requirements.in
hyperlink==21.0.0
# via -r requirements.in
idna==3.4
idna==3.6
# via
# anyio
# httpx
Expand All @@ -46,6 +54,10 @@ iniconfig==2.0.0
# via pytest
jaraco-classes==3.3.0
# via keyring
jmespath==1.0.1
# via
# boto3
# botocore
keyring==24.3.0
# via -r requirements.in
mccabe==0.7.0
Expand All @@ -56,22 +68,24 @@ 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
# build
# pytest
pathspec==0.11.2
pathspec==0.12.0
# via black
pillow==10.1.0
# via
# -r requirements.in
# pillow-heif
pillow-heif==0.13.1
pillow-heif==0.14.0
# via -r requirements.in
pip-tools==7.3.0
# via -r requirements.in
platformdirs==4.0.0
platformdirs==4.1.0
# via black
pluggy==1.3.0
# via pytest
Expand All @@ -85,21 +99,28 @@ pyproject-hooks==1.0.0
# via build
pytest==7.4.3
# via -r requirements.in
python-dateutil==2.8.2
# via botocore
requests==2.31.0
# via yt-dlp
s3transfer==0.8.2
# via boto3
six==1.16.0
# via python-dateutil
sniffio==1.3.0
# via
# anyio
# httpx
termcolor==2.3.0
termcolor==2.4.0
# via -r requirements.in
urllib3==2.1.0
urllib3==2.0.7
# via
# botocore
# requests
# yt-dlp
websockets==12.0
# via yt-dlp
wheel==0.41.3
wheel==0.42.0
# via pip-tools
yt-dlp==2023.11.16
# via -r requirements.in
Expand Down

0 comments on commit 25dff6f

Please sign in to comment.