Skip to content

Commit

Permalink
Update systemtest instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswhitfield committed Jul 1, 2024
1 parent 6509969 commit cf2742c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/developer/instruction/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,20 @@ If the environment already exists, ``conda_environment.yml`` can be used to upda
Running system test
-------------------

The system test are run via `.github/workflow/system.yml <https://github.com/neutrons/data_workflow/blob/next/.github/workflows/system.yml>`_ .
The system test are run via `.github/workflow/systemtests.yml <https://github.com/neutrons/data_workflow/blob/next/.github/workflows/systemtests.yml>`_ .

.. code-block:: shell
make all # wheels and test data
LDAP_SERVER_URI=. LDAP_DOMAIN_COMPONENT=. docker-compose up --build
LDAP_SERVER_URI=. LDAP_DOMAIN_COMPONENT=. DJANGO_SETTINGS_MODULE=reporting.reporting_app.settings.envtest docker-compose up --build
Wait for a time for everything to get up and running.
This is normally noted by seeing a collection of worker threads starting.
Once started tests can be run via

.. code-block:: shell
DJANGO_SETTINGS_MODULE=reporting.reporting_app.settings.envtest \
python -m pytest tests
LDAP_SERVER_URI=. LDAP_DOMAIN_COMPONENT=. DJANGO_SETTINGS_MODULE=reporting.reporting_app.settings.envtest python -m pytest tests
Setup and Deployment for Development
------------------------------------
Expand Down

0 comments on commit cf2742c

Please sign in to comment.