mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-03-10 22:23:36 +00:00
speed up tests
This commit is contained in:
parent
b8d254e564
commit
d0be21b7de
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -155,14 +155,23 @@ jobs:
|
||||
os: ${{ matrix.target.os }}
|
||||
cpu: ${{ matrix.target.cpu }}
|
||||
|
||||
- name: Run tests
|
||||
- name: Install Deps
|
||||
run: |
|
||||
rm -rf ~/.nimble/
|
||||
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
|
||||
# https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
export NIMFLAGS="-d:nimRawSetjmp"
|
||||
fi
|
||||
nimble install -d
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
|
||||
# https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
export NIMFLAGS="-d:nimRawSetjmp"
|
||||
fi
|
||||
|
||||
nimble test -y
|
||||
|
||||
if [[ "${{ matrix.branch }}" == "version-1-6" || "${{ matrix.branch }}" == "devel" ]]; then
|
||||
echo -e "\nTesting with '--gc:orc':\n"
|
||||
export NIMFLAGS="${NIMFLAGS} --gc:orc"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user