fix: update para id #297
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test Pop-CLI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
GITHUB_ACTOR: pop-cli | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check formatting | |
run: cargo fmt --all -- --check | |
build: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: "./.github/actions/init" | |
with: | |
git-user: ${{ env.GITHUB_ACTOR }} | |
- name: Check Feature Contracts Excl. | |
run: cargo check --no-default-features --features contract | |
- name: Check Features Parachain Excl. | |
run: cargo check --no-default-features --features parachain | |
- name: Build default features | |
run: cargo build | |
unit-tests: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: "./.github/actions/init" | |
with: | |
git-user: ${{ env.GITHUB_ACTOR }} | |
- name: Run unit tests | |
run: cargo test --lib | |
contract-integration-tests: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: "./.github/actions/init" | |
with: | |
git-user: ${{ env.GITHUB_ACTOR }} | |
- name: Run integration tests | |
run: cargo test --no-default-features --features contract --test contract | |
parachain-integration-tests: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: "./.github/actions/init" | |
with: | |
git-user: ${{ env.GITHUB_ACTOR }} | |
- name: Run integration tests | |
run: cargo test --no-default-features --features parachain --test parachain |