Skip to content

Commit

Permalink
Merge pull request #115 from DESm1th/0.2.1
Browse files Browse the repository at this point in the history
[FIX] Add optional requirements
  • Loading branch information
DESm1th authored Apr 15, 2024
2 parents 006cf45 + 0351ada commit 7e27f57
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
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

0 comments on commit 7e27f57

Please sign in to comment.