Eric
dca40e0682
fix hardhat running on windows
...
Solution was two-fold:
1. Run the hardhat.cmd script instead of hardhat
2. Use the absolute path to the script executable instead of relative to the working directory
2025-06-05 15:58:00 +10:00
Eric
7c248b45ab
Bubble errors from hardhat start
...
- bubble errors from hardhatprocess.start (instead of just logging)
- push raises: [] in all nodeprocess procs/methods to avoid leaking `Exception` exception types in method overrides
2025-06-05 15:58:00 +10:00
Eric
3e4d677b82
re-add windows to CI
2025-06-05 15:58:00 +10:00
Eric
52479ef0e8
nil check hardhat process before stopping
2025-06-05 15:58:00 +10:00
Eric
d260e6350c
fix exit status
2025-06-05 15:57:59 +10:00
Eric
5659e442e1
use macos-14-large
...
windows is failing with SIGSEGV so remove it for now
2025-06-05 15:57:59 +10:00
Eric
3040d27a58
add windows large runner 32vcpu
2025-06-05 15:57:59 +10:00
Eric
0dcf8ded69
indicate with exit code 1 if the tests failed
2025-06-05 15:57:59 +10:00
Eric
7d3013f3b3
fix: pass show continuous updates into test manager instance
2025-06-05 15:57:59 +10:00
Eric
702706d4ee
trying a self-hosted runner to see if it has more resources
2025-06-05 15:57:59 +10:00
Eric
14cc8fdc75
bump to larger runner, linux only
2025-06-05 15:57:58 +10:00
Eric
3fd43f38e8
temp remove coverage from ci workflow
2025-06-05 15:57:58 +10:00
Eric
28dea5bfd2
try large runners for linux/windows
2025-06-05 15:57:58 +10:00
Eric
373d4b5a1a
use large linux runner and disable other tests
2025-06-05 15:57:58 +10:00
Eric
e902df5365
undo changes done for CI debugging
2025-06-05 15:57:58 +10:00
Eric
f0a33ad922
temporarily remove linux test to see if macos works in ci
2025-06-05 15:57:58 +10:00
Eric
d3245c3aa8
Back off port inc in the hopes that this is causing issues with CI
2025-06-05 15:57:57 +10:00
Eric
780fb6ab70
enable CI debugging
2025-06-05 15:57:57 +10:00
Eric
f9fae82026
disable windows integration tests for now
2025-06-05 15:57:57 +10:00
Eric
eaa3fbef9b
npm install to install the hardhat binary in CI
2025-06-05 15:57:57 +10:00
Eric
6b8f6d539a
formatting
...
trying to make nph happy
2025-06-05 15:57:57 +10:00
Eric
8b70cbc13a
formatting
2025-06-05 15:57:57 +10:00
Eric
2cfd9635e7
clean up
2025-06-05 15:57:56 +10:00
Eric
e4ebfaafac
use tracked futures for showContinuousStatusUpdates
2025-06-05 15:57:56 +10:00
Eric
1218c493be
formatting
2025-06-05 15:57:56 +10:00
Eric
365177947f
CI: do not start hardhat for integration tests
2025-06-05 15:57:56 +10:00
Eric
044edfbfe2
automatically enable chronicles logs for the test harness when DEBUG_TESTHARNESS=1
2025-06-05 15:57:56 +10:00
Eric
e98b60196a
format info blurbs
2025-06-05 15:57:56 +10:00
Eric
05a11cbe44
allow test parameters to be set from make testIntegration command
2025-06-05 15:57:55 +10:00
Eric
5338c567ed
DIsable continuous updates by default (for CI)
2025-06-05 15:57:55 +10:00
Eric
81ace10454
fix rebase, formatting
2025-06-05 15:57:55 +10:00
Eric
9a81fb9949
fix rebase
2025-06-05 15:57:55 +10:00
Eric
87727fbcd6
Use absolute path for binary when checking for existence
2025-06-05 15:57:55 +10:00
Eric
4661f467e6
fail early with message when hardhat binary not found
...
# Conflicts:
# tests/integration/hardhatprocess.nim
2025-06-05 15:57:55 +10:00
Eric
756af9b2ab
remove unneeded sleep
2025-06-05 15:57:54 +10:00
Eric
8ca9d9f78d
make onoutputline callback gcsafe
2025-06-05 15:57:54 +10:00
Eric
982af54648
increase port distance per test run
2025-06-05 15:57:54 +10:00
Eric
35964f6e73
add constructor param for continuous status update in terminal
...
# Conflicts:
# tests/testIntegration.nim
2025-06-05 15:57:54 +10:00
Eric
52efcbea57
fix nodeprocess not exiting
2025-06-05 15:57:54 +10:00
Eric
ff1eb8b05e
ensure timeouts work
...
Work around the AsyncProcess timeout not working correctly
2025-06-05 15:57:54 +10:00
Eric
78260feda3
continually show test status updates
...
allows user to know which tests are still running
2025-06-05 15:57:54 +10:00
Eric
855ba637e3
cleanup
...
# Conflicts:
# tests/testIntegration.nim
2025-06-05 15:57:53 +10:00
Eric
c8d69b646c
lock hardhat start to avoid intermittent start failures
2025-06-05 15:57:53 +10:00
Eric
44faac5a97
clean up
2025-06-05 15:57:53 +10:00
Eric
5db892adf3
print hardhat testmanager errors and hardhat stdout when there is an error starting hardhat
2025-06-05 15:57:53 +10:00
Eric
0d186c69a1
hang manager off IntegrationTest, cleanup
...
- add a TestManager property to IntegrationTest, so manager does not need to be passed into all functions
- cleanup:
- remove unneeded stopHardhat function
- add hardhat instance to manager outside of startHardhat
2025-06-05 15:57:53 +10:00
Eric
79812001f1
pass hardhat port to ethersuite
...
# Conflicts:
# tests/ethertest.nim
2025-06-05 15:57:53 +10:00
Eric
878a384794
reinstate removed types
2025-06-05 15:57:52 +10:00
Eric
f957c58c58
Add additional logging info print outs
...
# Conflicts:
# tests/integration/testcli.nim
2025-06-05 15:57:52 +10:00
Eric
3af3162c04
expect process exit code
...
prevents showing error in the logs when an expected process exit code is encountered
# Conflicts:
# tests/integration/testcli.nim
2025-06-05 15:57:52 +10:00