Skip to content

chore(PocketIC): use sequence numbers as state labels #11

chore(PocketIC): use sequence numbers as state labels

chore(PocketIC): use sequence numbers as state labels #11

Workflow file for this run

name: CI PocketIC
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref}}
cancel-in-progress: true
jobs:
pic-test-all:
name: PocketIC Test
container:
image: ghcr.io/dfinity/ic-build@sha256:ced9611af39119f62feedc8a5ad75a8fac478cb43d2d56b623023766f6ce8ca7
options: >-
-e NODE_NAME --privileged --cgroupns host -v /cache:/cache -v /var/sysimage:/var/sysimage -v /var/tmp:/var/tmp -v /ceph-s3-info:/ceph-s3-info
timeout-minutes: 90
runs-on:
group: zh1
labels: dind-large
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 256 || 0 }}
- name: Before script
id: before-script
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Login to Dockerhub
shell: bash
run: ./ci/scripts/docker-login.sh
env:
DOCKER_HUB_USER: ${{ vars.DOCKER_HUB_USER }}
DOCKER_HUB_PASSWORD_RO: ${{ secrets.DOCKER_HUB_PASSWORD_RO }}
- name: Run Bazel Test All
run: |
bazel test //packages/pocket-ic:test --cache_test_results=no --test_output=streamed --test_arg="--nocapture"