Start system tests (#1410)

* Start system tests

* Go mod tidy

* Add system tests (#1411)

* Add tests

* Add test-system to CI

* Fix path

* Remove store artifact steps

* Add small fixes

* Add stake/unstake tests

* Add unsafe-reset-all extention + system test

* Replace ustake with stake

* Add more tests + fix bug in cli

* Fix comments and add multi contract system test

* Updates and fixes to system tests (#1449)

* Updates

* Minor cleanup

* Make tests pass

---------

Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>

* Fix Makefile to return exit code for system tests (#1450)

* Abort on error results

---------

Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com>
This commit is contained in:
Alexander Peters
2023-06-15 16:55:33 +02:00
committed by GitHub
parent 1ce86ca420
commit a4548ba175
22 changed files with 4306 additions and 3 deletions

View File

@@ -95,6 +95,20 @@ jobs:
- "profiles/*"
- store_artifacts:
path: /tmp/logs
test-system:
executor: golang
parallelism: 1
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Build and run system tests
command: make test-system
benchmark:
executor: golang
@@ -234,6 +248,9 @@ workflows:
- upload-coverage:
requires:
- test-cover
- test-system:
requires:
- test-cover
- benchmark:
requires:
- test-cover