Skip to content

Run the tests in CI, tag the live-API test - #1

Merged
qualv13 merged 2 commits into
masterfrom
chore/ci
Aug 23, 2026
Merged

Run the tests in CI, tag the live-API test#1
qualv13 merged 2 commits into
masterfrom
chore/ci

Conversation

@qualv13

@qualv13 qualv13 commented Aug 23, 2026

Copy link
Copy Markdown
Owner

17 tests were passing locally and nowhere else. They now run on every push against Temurin 17.

EnergyServiceIntegrationTest is left out of the CI run. It builds a real RestTemplate against the NESO Carbon Intensity API, so an outage upstream would fail a build with nothing wrong in it. It is tagged integration rather than deleted, because it is the only test that catches a change in the response shape, and mvn test still runs it locally.

The Testing section previously said the repository structure "indicates" service-level tests. It now lists what each class covers and the number of tests behind it.

Adds MIT.

17 tests have been passing on my machine and nowhere else. They now run on
every push against Temurin 17.

EnergyServiceIntegrationTest is excluded. It builds a real RestTemplate and
calls the NESO Carbon Intensity API, so a bad afternoon upstream would fail a
build with nothing wrong in it. Tagged `integration` rather than deleted,
because it is the only thing that catches a change in the response shape.
`mvn test` still runs it locally.

The Testing section said the repository structure "indicates" service-level
tests. It now says what each class covers and how many assertions are behind
that claim.

Adds MIT: without a licence the default is all rights reserved.
Committed from Windows without the executable bit, so ./mvnw is a permission
error on any Linux or macOS clone, CI included.
@qualv13
qualv13 merged commit 28b4fa7 into master Aug 23, 2026
1 check passed
@qualv13
qualv13 deleted the chore/ci branch August 23, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant