# The CodeChat Editor, a word processor for software developers.
Copyright # (C) 2024-2026 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: env: # Always display a backtrace, to help track down errors. RUST_BACKTRACE: 1 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: 26 # 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 # On Windows, GitHub Actions runs these commands in PowerShell, which runs # `bt.ps1`; elsewhere, bash runs `bt`. # - name: Run tests run: | rustup update ./bt install --dev ./bt full