Merge pull request #654 from status-im/ci_testslim

CI Multi nim: only test slim
This commit is contained in:
Tanguy 2021-11-19 14:54:51 +01:00 committed by GitHub
commit 98184d9dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 13 deletions

View File

@ -149,22 +149,12 @@ jobs:
bash build_nim.sh nim csources dist/nimble NimBinaries
echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.15.5'
- name: Install p2pd
run: |
V=1 bash scripts/build_p2pd.sh p2pdCache 124530a3
- name: Run nim-libp2p tests
run: |
nimble install -y --depsOnly
nimble test
nimble test_slim
if [[ "${{ matrix.branch }}" == "version-1-6" || "${{ matrix.branch }}" == "devel" ]]; then
echo -e "\nTesting with '--gc:orc':\n"
export NIMFLAGS="--gc:orc"
nimble test
nimble test_slim
fi

View File

@ -86,8 +86,8 @@ task test, "Runs the test suite":
task test_slim, "Runs the test suite":
exec "nimble testnative"
exec "nimble testpubsub_slim"
exec "nimble testinterop"
exec "nimble testfilter"
exec "nimble examples_build"
task examples_build, "Build the samples":
buildSample("directchat")