add explicit calls to env script :-(

This commit is contained in:
gmega 2024-01-19 16:29:45 -03:00
parent 3c0445daef
commit 7540cf3b18
No known key found for this signature in database
GPG Key ID: FFD8DAF00660270F
2 changed files with 7 additions and 8 deletions

View File

@ -60,7 +60,7 @@ jobs:
## Part 1 Tests ##
- name: Unit tests
if: matrix.tests == 'unittest' || matrix.tests == 'all'
run: make -j${ncpu} test
run: ./env.sh make -j${ncpu} test
# workaround for https://github.com/NomicFoundation/hardhat/issues/3877
- name: Setup Node.js
@ -80,12 +80,12 @@ jobs:
## Part 2 Tests ##
- name: Contract tests
if: matrix.tests == 'contract' || matrix.tests == 'all'
run: make -j${ncpu} testContracts
run: ./env.sh make -j${ncpu} testContracts
## Part 3 Tests ##
- name: Integration tests
if: matrix.tests == 'integration' || matrix.tests == 'all'
run: make -j${ncpu} testIntegration
run: ./env.sh make -j${ncpu} testIntegration
coverage:
continue-on-error: true
@ -103,8 +103,7 @@ jobs:
- name: Generate coverage data
run: |
. ./env.sh
make -j${ncpu} coverage-script
./env.sh make -j${ncpu} coverage-script
shell: bash
- name: Upload coverage data to Codecov

View File

@ -19,9 +19,9 @@ RUN echo 'export PATH="${NIMBLE_DIR}/bin:${PATH}"' >> "${HOME}/.bash_env"
WORKDIR ${BUILD_HOME}
COPY . .
RUN make clean
RUN make -j ${MAKE_PARALLEL} update
RUN make -j ${MAKE_PARALLEL}
RUN ./env.sh make clean
RUN ./env.sh make -j ${MAKE_PARALLEL} update
RUN ./env.sh make -j ${MAKE_PARALLEL}
# Create
FROM ${IMAGE}