fortrangoingonforty/armfortas / 776203b

Browse files

Pre-build integration test binaries before timed test step + raise end-to-end timeout 60→120 min

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
776203baf1dc64269024fa9ff87a112e09012c4a
Parents
bb046cd
Tree
07dfb93

1 changed file

StatusFile+-
M .github/workflows/ci.yml 6 1
.github/workflows/ci.ymlmodified
@@ -45,7 +45,7 @@ jobs:
45
   test-end-to-end:
45
   test-end-to-end:
46
     name: "Tests: end-to-end (compile + run Fortran programs)"
46
     name: "Tests: end-to-end (compile + run Fortran programs)"
47
     runs-on: macos-latest
47
     runs-on: macos-latest
48
-    timeout-minutes: 60
48
+    timeout-minutes: 120
49
     steps:
49
     steps:
50
       - uses: actions/checkout@v4
50
       - uses: actions/checkout@v4
51
         with:
51
         with:
@@ -73,6 +73,11 @@ jobs:
73
           submodules: recursive
73
           submodules: recursive
74
       - uses: dtolnay/rust-toolchain@stable
74
       - uses: dtolnay/rust-toolchain@stable
75
       - run: cargo build --workspace --release
75
       - run: cargo build --workspace --release
76
+      # Pre-build test binaries so the timed test step measures only
77
+      # execution, not compilation. This branch ships ~91 integration
78
+      # test files; building all of them inside `cargo test` previously
79
+      # consumed the bulk of the timed step on macos-latest.
80
+      - run: cargo test -p armfortas --tests --release --no-run
76
       - run: cargo test -p armfortas --tests --release -- --nocapture
81
       - run: cargo test -p armfortas --tests --release -- --nocapture
77
 
82
 
78
   test-afs-as-unit:
83
   test-afs-as-unit: