diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4741916..a7b60bd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index f4347af..5ce8075 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -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" diff --git a/dev_requirements.txt b/dev_requirements.txt new file mode 100644 index 0000000..8e31c4c --- /dev/null +++ b/dev_requirements.txt @@ -0,0 +1,3 @@ +pycodestyle==2.11.1 +pylint==3.1.0 +flake8==7.0.0 \ No newline at end of file diff --git a/docs_requirements.txt b/docs_requirements.txt new file mode 100644 index 0000000..de05b42 --- /dev/null +++ b/docs_requirements.txt @@ -0,0 +1 @@ +Sphinx==7.2.6 \ No newline at end of file diff --git a/test_requirements.txt b/test_requirements.txt new file mode 100644 index 0000000..0eebd81 --- /dev/null +++ b/test_requirements.txt @@ -0,0 +1,2 @@ +pytest==8.1.1 +mock==5.1.0 \ No newline at end of file