Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Add optional requirements #115

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- name: Start up the dashboard
run: cd containers/devel && docker-compose up -d

- name: Install requirements
run: docker exec -t devel_dashboard /bin/bash -c "pip install -r dashboard/test_requirements.txt"

- name: Run tests
run: docker exec -t devel_dashboard pytest -v dashboard/tests

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
run: cd containers/devel && docker-compose up -d
if: steps.cache.outputs.cache-hit != 'true'

- name: Install dependencies
run: docker exec -t devel_dashboard /bin/bash -c "pip install -r dashboard/docs_requirements.txt"

- name: Build docs
if: steps.cache.outputs.cache-hit != 'true'
run: docker exec -t devel_dashboard /bin/bash -c "sphinx-build dashboard/docs dashboard/docs/_build"
Expand Down
3 changes: 3 additions & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pycodestyle==2.11.1
pylint==3.1.0
flake8==7.0.0
1 change: 1 addition & 0 deletions docs_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sphinx==7.2.6
2 changes: 2 additions & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pytest==8.1.1
mock==5.1.0
Loading