refactor(ci): Split `Install dependencies` step from `Run tests`

This commit is contained in:
Emil Ivanichkov 2024-02-29 01:00:13 +02:00 committed by Emil Ivanichkov
parent ac56cf7e67
commit e4695e382c
1 changed files with 5 additions and 1 deletions

View File

@ -124,7 +124,7 @@ jobs:
scripts/ci/build_nim.sh nim csources dist/nimble-latest NimBinaries scripts/ci/build_nim.sh nim csources dist/nimble-latest NimBinaries
echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
- name: Run tests - name: Install dependencies
run: | run: |
if [[ "${{ matrix.target.os }}" == "windows" ]]; then if [[ "${{ matrix.target.os }}" == "windows" ]]; then
# https://github.com/status-im/nimbus-eth2/issues/3121 # https://github.com/status-im/nimbus-eth2/issues/3121
@ -132,5 +132,9 @@ jobs:
fi fi
nim --version nim --version
nimble --version nimble --version
nimble install
- name: Run tests
run: |
nimble build nimble build
nimble test nimble test