Skip to content

PM-1343 Caclulate block size #231

PM-1343 Caclulate block size

PM-1343 Caclulate block size #231

Workflow file for this run

name: Integration
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
build:
runs-on: minafoundation-xlarge-runners
steps:
- name: πŸ“₯ Checkout
uses: actions/checkout@v3
- name: πŸ“₯ Update Git Submodules
run: |
git submodule init
git submodule update
- name: πŸ“¦ Install Nix
uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: 🀌 Get Minimina
uses: MinaFoundation/install-minimina-action@v1
with:
stream: stable
# commit_or_branch: resource-experiments
- name: πŸ› οΈ Build Docker
env:
IMAGE_NAME: uptime-service-backend
TAG: integration-test
run: nix-shell --run "make docker"
- name: πŸ§ͺ Run Integration Tests
env:
# UPTIME_SERVICE_SECRET is a passphrase needed to decrypt uptime service config files
UPTIME_SERVICE_SECRET: ${{ secrets.UPTIME_SERVICE_SECRET }}
run: nix-shell --run "make integration-test"
- name: πŸ“– Get logs
if: always()
run: |
mkdir -p integration-test/logs
minimina network list
minimina network status -n integration-test
minimina node logs -n integration-test -i uptime-service-backend -r > integration-test/logs/uptime-service-backend.log
minimina node logs -n integration-test -i node-a -r > integration-test/logs/node-a.log
minimina node logs -n integration-test -i node-b -r > integration-test/logs/node-b.log
minimina node logs -n integration-test -i node-c -r > integration-test/logs/node-c.log
- name: πŸ“Ž Upload logs
uses: actions/upload-artifact@v3
if: always()
with:
name: logs
path: integration-test/logs