Skip to content

Commit

Permalink
Test GitHub action.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sydiepus committed Sep 1, 2022
1 parent b8fec9a commit e716eb3
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Python package

on: [ push ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python: [ "3.7", "3.8", "3.9", "3.10" ]

steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox pytest requests tqdm urllib3 setuptools setuptools_scm
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -e py
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
Manga/
build/
.pytest_cache/
*.egg-info/
*.egg-info/
.tox/
.eggs/
5 changes: 5 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pytest >= 7.1.2
requests >= 2.28.1
setuptools >= 60.2.0
tqdm >= 4.64.0
urllib3 >= 1.26.11
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
requests >= 2.28.1
tqdm >= 4.64.0
urllib3 >= 1.26.11
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ deps =
tqdm
urllib3
commands =
manrododex 32fdfe9b-6e11-4a13-9e36-dcd8ea77b4e4 --selvolchap v1v1,v2v14
manrododex 32fdfe9b-6e11-4a13-9e36-dcd8ea77b4e4 --selvolchap v1v1,v2v14 --dry-run

0 comments on commit e716eb3

Please sign in to comment.