Skip to content

Grida Canvas - Service Layer & CRDT #47

Grida Canvas - Service Layer & CRDT

Grida Canvas - Service Layer & CRDT #47

Workflow file for this run

name: test crates
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libexpat1-dev \
libfontconfig1-dev \
libfreetype6-dev \
libgl1-mesa-dev \
libgles2-mesa-dev \
libwayland-dev \
libx11-dev \
libx11-xcb-dev \
libxcb-render0-dev \
libxcb-shape0-dev \
libxcb-xfixes0-dev \
libxcursor-dev \
libxi-dev \
libxinerama-dev \
libxrandr-dev \
libxxf86vm-dev \
mesa-common-dev
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo build outputs
uses: Swatinem/rust-cache@v2
- name: Run cargo tests
run: cargo test --workspace