Skip to content

Add auto-save process monitoring #401

Add auto-save process monitoring

Add auto-save process monitoring #401

Workflow file for this run

name: Code Tests
on:
pull_request:
branches: ["dev"]
push:
branches: ["dev"]
permissions:
contents: read
concurrency:
group: code-test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Backend Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Run script tests
run: python scripts/nightly_changelog_test.py
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
libasound2-dev \
pkg-config
- name: Setup pnpm
uses: pnpm/action-setup@v5
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: 24
cache: "pnpm"
- name: Run portable script tests
run: node --test scripts/portable.test.mjs
- name: Install frontend dependencies
run: pnpm install --frozen-lockfile
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Run workspace checks
run: |
cargo check --workspace
cargo test -p rgsm-core --lib
- name: Run slim build checks
run: |
cargo check -p rgsm-core --no-default-features
cargo test -p rgsm-core --no-default-features --lib