Skip to content

Dev

Dev #184

Workflow file for this run

# Copyright (C) 2025 Bryan A. Jones.
#
# This file is part of the CodeChat Editor.
#
# The CodeChat Editor is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# The CodeChat Editor is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# the CodeChat Editor. If not, see
# [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).
#
# `check.yml` -- Run tests in CI
# ==============================
name: Check
on:
pull_request:
jobs:
check:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
name: Run tests
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: 20
# Doesn't work -- on Windows and Mac OS, binstalled programs don't run
# from the cache.
##- uses: Swatinem/rust-cache@v2
## with:
## workspaces: |
## builder
## server
## extensions/VSCode
- name: Run tests
run: |
rustup update
cd server
./bt install --dev
./bt test