Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaton committed Feb 16, 2024
1 parent 387dae6 commit 4a93a03
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
check-docs:
uses: Lightning-AI/utilities/.github/workflows/check-docs.yml@main
with:
requirements-file: "_requirements/docs.txt"
requirements-file: "requirements/docs.txt"
2 changes: 1 addition & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set min. dependencies
if: matrix.requires == 'oldest'
run: |
for fpath in ('requirements.txt', '_requirements/test.txt'):
for fpath in ('requirements.txt', 'requirements/test.txt'):
req = open(fpath).read().replace('>=', '==')
open(fpath, 'w').write(req)
shell: python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build-docs:
uses: Lightning-AI/utilities/.github/workflows/check-docs.yml@main
with:
requirements-file: "_requirements/docs.txt"
requirements-file: "requirements/docs.txt"

# https://github.com/marketplace/actions/deploy-to-github-pages
docs-deploy:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ formats: all
python:
version: 3.7
install:
- requirements: _requirements/docs.txt
- requirements: requirements/docs.txt
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exclude docs

# Include the Requirements
include requirements.txt
recursive-include _requirements *.tx;t
recursive-include requirements *.tx;t

# Exclude Makefile
exclude Makefile
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ export SLURM_LOCALID=0
export SPHINX_MOCK_REQUIREMENTS=0

test: clean
pip install -q -r requirements.txt
pip install -q -r _requirements/test.txt
pip install -q -r requirements/requirements.txt
pip install -q -r requirements/test.txt

# use this to run tests
python -m coverage run --source lit_data -m pytest src tests -v --flake8
python -m coverage report

docs: clean
pip install . --quiet -r _requirements/docs.txt
pip install . --quiet -r requirements/docs.txt
python -m sphinx -b html -W --keep-going docs/source docs/build

clean:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from setuptools import find_packages, setup

_PATH_ROOT = os.path.dirname(__file__)
_PATH_REQUIRES = os.path.join(_PATH_ROOT, "_requirements")
_PATH_REQUIRES = os.path.join(_PATH_ROOT, "requirements")


def _load_py_module(fname, pkg="lit_data"):
Expand Down

0 comments on commit 4a93a03

Please sign in to comment.