File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 35
35
poetry run pytest --doctest-modules --ignore=examples --cov=pycardano --cov-config=.coveragerc --cov-report=xml
36
36
- name : " Upload coverage to Codecov"
37
37
uses : codecov/codecov-action@v2
38
+ with :
39
+ fail_ci_if_error : true
40
+
41
+ continuous-integration :
42
+ needs : build
43
+ runs-on : ${{ matrix.os }}
44
+ strategy :
45
+ matrix :
46
+ os : [ ubuntu-latest]
47
+
48
+ steps :
49
+ - uses : actions/checkout@v2
50
+ - name : Set up Python ${{ matrix.python-version }}
51
+ uses : actions/setup-python@v2
52
+ with :
53
+ python-version : ${{ matrix.python-version }}
54
+ - name : Python Poetry Action
55
+
56
+
57
+ - name : Run integration tests
58
+ run : |
59
+ cd integration-test && ./run_tests.sh
38
60
with :
39
61
fail_ci_if_error : true
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
+
3
+ set -e
4
+ set -o pipefail
2
5
3
6
ROOT=$( pwd)
4
7
5
8
poetry install
6
9
7
10
# Run alonzo integration tests
8
11
./bootstrap.sh local-alonzo
12
+
13
+ # Cleanup containers and volumes in case there is any running
14
+ docker-compose down --volume
15
+
16
+ # Launch containers
9
17
docker-compose up -d
18
+ docker-compose logs ogmios
10
19
11
20
export PAYMENT_KEY=" $ROOT " /configs/local-alonzo/shelley/utxo-keys/utxo1.skey
12
21
poetry run pytest -s " $ROOT " /test
13
22
23
+ # Cleanup
24
+ docker-compose logs ogmios
14
25
docker-compose down --volume
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class TestMintNFT:
19
19
20
20
chain_context = OgmiosChainContext (OGMIOS_WS , Network .TESTNET )
21
21
22
- @retry (tries = 5 , delay = 2 )
22
+ @retry (tries = 10 , delay = 6 )
23
23
def check_ogmios (self ):
24
24
print (f"Current chain tip: { self .chain_context .last_block_slot } " )
25
25
You can’t perform that action at this time.
0 commit comments