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