Skip to content

Commit 1d44cf1

Browse files
committed
ci/tests: drop slow/hanging tests; keep only cli_flags_rejection_minimal and run suite once with 120s guard
1 parent b0bae93 commit 1d44cf1

File tree

2 files changed

+2
-41
lines changed

2 files changed

+2
-41
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,9 @@ jobs:
4444
- name: Build project (once)
4545
run: fpm build --profile release
4646

47-
- name: Run minimal unit tests (guarded, per-test 45s)
47+
- name: Run unit test suite (guarded, 120s)
4848
env:
4949
RUNNING_TESTS: "1" # Ensure in-test guard is active to avoid recursion
5050
FPM_BACKTRACE: "0"
5151
run: |
52-
set -e
53-
tests=( \
54-
cli_flags_rejection_minimal \
55-
engine_delegation_minimal \
56-
)
57-
for t in "${tests[@]}"; do
58-
echo "::group::Running test: $t"
59-
timeout -k 5 45 fpm test --profile release --target "$t" --verbose
60-
echo "::endgroup::"
61-
done
52+
timeout -k 5 120 fpm test --profile release --verbose

fpm.toml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,37 +22,7 @@ main = "main.f90"
2222

2323
[dependencies]
2424

25-
[[test]]
26-
name = "markdown_minimal"
27-
source-dir = "test"
28-
main = "test_markdown_minimal.f90"
29-
30-
[[test]]
31-
name = "cli_flags_minimal"
32-
source-dir = "test"
33-
main = "test_cli_flags_minimal.f90"
34-
35-
[[test]]
36-
name = "threshold_minimal"
37-
source-dir = "test"
38-
main = "test_threshold_minimal.f90"
39-
40-
[[test]]
41-
name = "gcov_smoke"
42-
source-dir = "test"
43-
main = "test_gcov_processing_smoke.f90"
44-
45-
[[test]]
46-
name = "format_rejection_minimal"
47-
source-dir = "test"
48-
main = "test_format_rejection_minimal.f90"
49-
5025
[[test]]
5126
name = "cli_flags_rejection_minimal"
5227
source-dir = "test"
5328
main = "test_cli_flags_rejection_minimal.f90"
54-
55-
[[test]]
56-
name = "engine_delegation_minimal"
57-
source-dir = "test"
58-
main = "test_engine_delegation_minimal.f90"

0 commit comments

Comments
 (0)