mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-21 02:09:19 +00:00
add explicit calls to env script :-(
This commit is contained in:
parent
3c0445daef
commit
7540cf3b18
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user