try adding orc test on linux
This commit is contained in:
parent
77ebfc8a2d
commit
3e9f4e34c3
|
@ -22,8 +22,7 @@ jobs:
|
|||
cpu: amd64
|
||||
builder: ubuntu-latest
|
||||
shell: bash --noprofile --norc -e -o pipefail
|
||||
tests: all
|
||||
testOrc: true
|
||||
tests: orc
|
||||
- os: macos
|
||||
cpu: amd64
|
||||
builder: macos-latest
|
||||
|
@ -49,7 +48,7 @@ jobs:
|
|||
run:
|
||||
shell: ${{ matrix.shell }} {0}
|
||||
|
||||
name: '${{ matrix.os }}-${{ matrix.cpu }}-tests-${{ matrix.tests }}-${{ matrix.testOrc }}'
|
||||
name: '${{ matrix.os }}-${{ matrix.cpu }}-tests-${{ matrix.tests }}'
|
||||
runs-on: ${{ matrix.builder }}
|
||||
timeout-minutes: 80
|
||||
steps:
|
||||
|
@ -68,11 +67,13 @@ jobs:
|
|||
## Part 1 Tests ##
|
||||
- name: Setup ORC Test on Some Linux
|
||||
if: matrix.testOrc == true
|
||||
run: echo '--mm:orc' >> config.nims
|
||||
run: |
|
||||
echo '--mm:orc' >> config.nims
|
||||
echo '' >> config.nims
|
||||
|
||||
## Part 1 Tests ##
|
||||
- name: Unit tests
|
||||
if: matrix.tests == 'unittest' || matrix.tests == 'all'
|
||||
if: matrix.tests == 'unittest' || matrix.tests == 'all' || matrix.tests == 'orc'
|
||||
run: make -j${ncpu} test
|
||||
|
||||
# workaround for https://github.com/NomicFoundation/hardhat/issues/3877
|
||||
|
@ -82,7 +83,7 @@ jobs:
|
|||
node-version: 18.15
|
||||
|
||||
- name: Start Ethereum node with Codex contracts
|
||||
if: matrix.tests == 'contract' || matrix.tests == 'integration' || matrix.tests == 'all'
|
||||
if: matrix.tests == 'contract' || matrix.tests == 'integration' || matrix.tests == 'all' || matrix.tests == 'orc'
|
||||
working-directory: vendor/codex-contracts-eth
|
||||
env:
|
||||
MSYS2_PATH_TYPE: inherit
|
||||
|
@ -92,12 +93,12 @@ jobs:
|
|||
|
||||
## Part 2 Tests ##
|
||||
- name: Contract tests
|
||||
if: matrix.tests == 'contract' || matrix.tests == 'all'
|
||||
if: matrix.tests == 'contract' || matrix.tests == 'all' || matrix.tests == 'orc'
|
||||
run: make -j${ncpu} testContracts
|
||||
|
||||
## Part 3 Tests ##
|
||||
- name: Integration tests
|
||||
if: matrix.tests == 'integration' || matrix.tests == 'all'
|
||||
if: matrix.tests == 'integration' || matrix.tests == 'all' || matrix.tests == 'orc'
|
||||
run: make -j${ncpu} testIntegration
|
||||
|
||||
coverage:
|
||||
|
|
Loading…
Reference in New Issue