Skip to content

Commit

Permalink
fix(Branch CI): xmlrunner call from python module
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Oct 23, 2024
1 parent 8306c05 commit dad1bb6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
# Run unittests
# * Produce JUnit XML report
- name: Run unit tests
run: uv run xmlrunner discover -s src/nwp_consumer -p "test_*.py" --output-file ut-report.xml
run: uv run python -m xmlrunner discover -s src/nwp_consumer -p "test_*.py" --output-file ut-report.xml

# Create test summary to be visualised on the job summary screen on GitHub
# * Runs even if previous steps fail
Expand Down
30 changes: 15 additions & 15 deletions src/nwp_consumer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
The following environment variables can be used to configure the application:
+-------------------------------+-------------------------------------+-------------------------------------+
| Key | Description | Default |
+===============================+=====================================+=====================================+
| LOGLEVEL | The logging level for the app. | INFO |
+-------------------------------+-------------------------------------+-------------------------------------+
| RAWDIR | The working directory for the app. | ~/.local/cache/nwp/{MODEL}/raw |
| | Can be a local path or an S3 URI. | |
+-------------------------------+-------------------------------------+-------------------------------------+
| ZARRDIR | The output directory for the app. | ~/.local/cache/nwp/{MODEL}/data |
| | Can be a local path or an S3 URI. | |
+-------------------------------+-------------------------------------+-------------------------------------+
| NOTIFICATION_REPOSITORY | The notification repository to use. | stdout |
+-------------------------------+-------------------------------------+-------------------------------------+
| MODEL_REPOSITORY | The model repository to use. | ceda-metoffice-global |
+-------------------------------+-------------------------------------+-------------------------------------+
+-------------------------------+-------------------------------------+---------------------------------------------+
| Key | Description | Default |
+===============================+=====================================+=============================================+
| LOGLEVEL | The logging level for the app. | INFO |
+-------------------------------+-------------------------------------+---------------------------------------------+
| RAWDIR | The working directory for the app. | ~/.local/cache/nwp/<REPO>/<MODEL>/raw |
| | Can be a local path or an S3 URI. | |
+-------------------------------+-------------------------------------+---------------------------------------------+
| ZARRDIR | The output directory for the app. | ~/.local/cache/nwp/<REPO>/<MODEL>/data |
| | Can be a local path or an S3 URI. | |
+-------------------------------+-------------------------------------+---------------------------------------------+
| NOTIFICATION_REPOSITORY | The notification repository to use. | stdout |
+-------------------------------+-------------------------------------+---------------------------------------------+
| MODEL_REPOSITORY | The model repository to use. | ceda-metoffice-global |
+-------------------------------+-------------------------------------+---------------------------------------------+
Development Documentation
Expand Down

0 comments on commit dad1bb6

Please sign in to comment.