Commit 88d7582
authored
Run integration tests and examples in CI (#435)
Run `integrationTest` and `examplesTest` test suites in CI as part of PR
checks and before publishing artifacts, as a final validation.
#432 and this PR are aimed at preventing regressions such as #426.
These test suites require a real Develocity server to make API requests
to. This was previously not possible because the maintainer didn't have
access to a Develocity server that could be used from a public GitHub
repository's workflows. As a result, the `integrationTest` suite and the
examples had to be manually ran locally against the Develocity server
that was available. That was always done for significant PRs and before
each release. Now, with access to a server that can be used in this
repository, changes can be fully validated in CI, reducing the effort
needed to make changes to the library.
Also fix the `examplesTest` notebooks test which broke from the
`@TempDir` annotation being accidentally removed in
309acfe. Since it was a trivial change,
tests were not ran locally. After this PR, a commit such as this being
merged will no longer be possible.1 parent b53ecab commit 88d7582
File tree
4 files changed
+19
-7
lines changed- .github/workflows
- build-logic/src/main/kotlin/com/gabrielfeo
- library/src/examplesTest/kotlin/com/gabrielfeo/develocity/api/example/notebook
4 files changed
+19
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | | - | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments