-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
244 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,40 @@ | ||
name: Run Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
push: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.10' | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cache/pypoetry | ||
~/.cache/pip | ||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-poetry- | ||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.cache/pypoetry | ||
~/.cache/pip | ||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-poetry- | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install poetry | ||
poetry install | ||
pip install -e . | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install poetry | ||
poetry install | ||
pip install -e . | ||
- name: Run tests | ||
run: | | ||
pytest tests/ | ||
- name: Run tests | ||
run: | | ||
pytest tests/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,64 @@ | ||
# This file is auto-generated by pip-compile | ||
# To update, run: | ||
# | ||
# pip-compile requirements/production.in | ||
# pip-compile requirements/development.in | ||
|
||
rich==13.9.3 | ||
pydantic==2.9.2 | ||
# This file is autogenerated by pip-compile with Python 3.12 | ||
# by the following command: | ||
# | ||
# pip-compile pyproject.toml | ||
# | ||
annotated-types==0.7.0 | ||
# via pydantic | ||
arrow==1.3.0 | ||
# via cookiecutter | ||
binaryornot==0.4.4 | ||
# via cookiecutter | ||
certifi==2024.8.30 | ||
# via requests | ||
chardet==5.2.0 | ||
# via binaryornot | ||
charset-normalizer==3.4.0 | ||
# via requests | ||
click==8.1.7 | ||
# via cookiecutter | ||
cookiecutter==2.6.0 | ||
requests==2.28.1 | ||
pytest==8.3.3 | ||
# via d2x (pyproject.toml) | ||
idna==3.10 | ||
# via requests | ||
jinja2==3.1.4 | ||
# via cookiecutter | ||
markdown-it-py==3.0.0 | ||
# via rich | ||
markupsafe==3.0.2 | ||
# via jinja2 | ||
mdurl==0.1.2 | ||
# via markdown-it-py | ||
pydantic==2.9.2 | ||
# via d2x (pyproject.toml) | ||
pydantic-core==2.23.4 | ||
# via pydantic | ||
pygments==2.18.0 | ||
# via rich | ||
python-dateutil==2.9.0.post0 | ||
# via arrow | ||
python-slugify==8.0.4 | ||
# via cookiecutter | ||
pyyaml==6.0.2 | ||
# via cookiecutter | ||
requests==2.32.3 | ||
# via | ||
# cookiecutter | ||
# d2x (pyproject.toml) | ||
rich==13.9.3 | ||
# via | ||
# cookiecutter | ||
# d2x (pyproject.toml) | ||
six==1.16.0 | ||
# via python-dateutil | ||
text-unidecode==1.3 | ||
# via python-slugify | ||
types-python-dateutil==2.9.0.20241003 | ||
# via arrow | ||
typing-extensions==4.12.2 | ||
# via | ||
# pydantic | ||
# pydantic-core | ||
urllib3==2.2.3 | ||
# via requests |
This file was deleted.
Oops, something went wrong.