Skip to content

More initiate tests #548

More initiate tests

More initiate tests #548

Workflow file for this run

name: Test
on:
pull_request: {}
jobs:
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- uses: Swatinem/rust-cache@v2
- name: Toml format
run: make static-toml
- name: Format
run: make fmt
- name: Lint
run: make clippy
- name: Doc
run: make doc
test:
needs: static
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Build
run: make build
- name: Test
run: make test
nix-build:
needs: static
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: cachix/cachix-action@v15
with:
name: holochain-wind-tunnel
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build --verbose -L .#bootstrap-srv
ci_pass:
if: ${{ always() }}
runs-on: "ubuntu-latest"
needs:
- static
- test
- nix-build
steps:
- name: check status
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}