try adding orc test on linux

This commit is contained in:
Jaremy Creechley 2023-08-01 18:24:04 -07:00
parent 77ebfc8a2d
commit 3e9f4e34c3
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 9 additions and 8 deletions

View File

@ -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: