Skip to content

Commit 60486df

Browse files
authored
CI tuning (#145)
* Nit * Docker? * Nit * Revert back cargo install just * Update .github/workflows/integration-test.yml
1 parent 31ed9f1 commit 60486df

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

.github/workflows/integration-test.yml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,36 +16,30 @@ concurrency:
1616
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1717
cancel-in-progress: true
1818

19-
# Parity CI image to use
20-
# Common variable is defined in the workflow
21-
# Repo env variable doesn't work for PRs from forks
2219
env:
23-
CI_IMAGE: "paritytech/ci-unified:bullseye-1.88.0-2025-06-27-v202507112050"
2420
NODE_VERSION: 22
2521

2622
jobs:
27-
set-image:
28-
# This workaround sets the container image for each job using 'set-image' job output.
29-
# env variables don't work for PRs from forks, so we need to use outputs.
30-
runs-on: ubuntu-latest
31-
outputs:
32-
CI_IMAGE: ${{ steps.set_image.outputs.CI_IMAGE }}
33-
steps:
34-
- id: set_image
35-
run: echo "CI_IMAGE=${{ env.CI_IMAGE }}" >> $GITHUB_OUTPUT
36-
3723
integration-tests:
3824
name: Integration Tests
39-
runs-on: parity-default
25+
runs-on: ubuntu-latest
4026
timeout-minutes: 60
41-
needs: [ set-image ]
42-
container:
43-
image: ${{ needs.set-image.outputs.CI_IMAGE }}
4427

4528
steps:
4629
- name: Checkout sources
4730
uses: actions/checkout@v4
4831

32+
- name: Install Rust toolchain
33+
uses: dtolnay/rust-toolchain@stable
34+
with:
35+
targets: wasm32-unknown-unknown
36+
components: rust-src
37+
38+
- name: Install system dependencies
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install -y protobuf-compiler libclang-dev
42+
4943
- name: Rust cache
5044
uses: Swatinem/rust-cache@v2
5145
with:

examples/justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,14 @@ ipfs-reconnect-start:
158158
echo " Log: /tmp/ipfs-reconnect-docker.log"
159159
sleep 2
160160

161+
# Generate PAPI descriptors
162+
papi-generate:
163+
#!/usr/bin/env bash
164+
set -e
165+
166+
echo "🔧 Generating PAPI descriptors..."
167+
npm run papi:generate
168+
161169
# Setup all services using Docker for IPFS
162170
setup-services:
163171
#!/usr/bin/env bash

0 commit comments

Comments
 (0)