@@ -37,14 +37,14 @@ jobs:
3737 override : true
3838 - name : Install cargo-tarpaulin
3939 run : cargo install cargo-tarpaulin --version 0.29.1
40- - run : cargo tarpaulin --verbose --exclude-files "packages/*" --exclude-files "*/proto/*"
40+ - run :
41+ cargo tarpaulin --exclude-files "packages/*" --exclude-files "*/proto/*"
4142 --exclude-files "contracts/price-provider/*" --exclude-files
4243 " contracts/auto-withdrawer/*" --exclude-files
4344 " contracts/hook-tester/*" --exclude-files
4445 " contracts/astroport-exchange-handler/*" --exclude-files
4546 " contracts/proposal-votes-poc/*" --exclude-files
4647 " contracts/rewards-manager/*" --exclude-files
47- " contracts/puppeteer-authz/*" --exclude-files
4848 " contracts/validators-stats/*" --exclude-files
4949 " contracts/provider-proposals-poc/*" --exclude-files
5050 " contracts/redemption-rate-adapter/*" --exclude-files "*schema*" --out
5555 path : ./cobertura.xml
5656 threshold : 45
5757 fail : true
58- publish : false
58+ publish : true
5959 diff : false
6060 coverage-summary-title : Code Coverage Summary
6161 rustfmt :
@@ -153,6 +153,51 @@ jobs:
153153 with :
154154 path : artifacts
155155 key : ${{ runner.os }}-${{ github.sha }}
156+ test-unbonding-mirror :
157+ name : test:unbonding-mirror Integration Tests
158+ needs :
159+ - images-prepare
160+ - artifacts-prepare
161+ runs-on : ubicloud-standard-4
162+ steps :
163+ - name : Upgrade docker compose to use v2
164+ run : sudo curl -L
165+ " https://github.com/docker/compose/releases/download/v2.23.0/docker-compose-$(uname
166+ -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x
167+ /usr/local/bin/docker-compose
168+ - uses : actions/checkout@v4
169+ with :
170+ fetch-depth : 1
171+ - name : Setup node
172+ uses : actions/setup-node@v4
173+ with :
174+ node-version : 20.12.2
175+ - name : Install Yarn
176+ run : npm install -g yarn
177+ - name : Log in to Private Registry
178+ uses : docker/login-action@v3
179+ with :
180+ username : ${{ secrets.DOCKER_USER }}
181+ password : ${{ secrets.DOCKER_TOKEN }}
182+ - name : Clean volumes
183+ run : docker volume prune -f
184+ - name : Download images
185+ run : |
186+ cd integration_tests
187+ yarn build-images
188+ - name : Download artifacts
189+ uses : actions/cache@v4
190+ with :
191+ path : artifacts
192+ key : ${{ runner.os }}-${{ github.sha }}
193+ - name : Run test test:unbonding-mirror
194+ run : cd integration_tests && yarn && yarn test:unbonding-mirror
195+ - name : Cleanup resources
196+ if : always()
197+ run : |
198+ docker stop -t0 $(docker ps -a -q) || true
199+ docker container prune -f || true
200+ docker volume rm $(docker volume ls -q) || true
156201 test-core :
157202 name : test:core Integration Tests
158203 needs :
@@ -288,8 +333,8 @@ jobs:
288333 docker stop -t0 $(docker ps -a -q) || true
289334 docker container prune -f || true
290335 docker volume rm $(docker volume ls -q) || true
291- test-mirror :
292- name : test:mirror Integration Tests
336+ test-bond- mirror :
337+ name : test:bond- mirror Integration Tests
293338 needs :
294339 - images-prepare
295340 - artifacts-prepare
@@ -325,8 +370,8 @@ jobs:
325370 with :
326371 path : artifacts
327372 key : ${{ runner.os }}-${{ github.sha }}
328- - name : Run test test:mirror
329- run : cd integration_tests && yarn && yarn test:mirror
373+ - name : Run test test:bond- mirror
374+ run : cd integration_tests && yarn && yarn test:bond- mirror
330375 - name : Cleanup resources
331376 if : always()
332377 run : |
0 commit comments