dependabot[bot] d7877524da
Bump the actions group with 2 updates
Bumps the actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/setup-node` from 6 to 6.3.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6...v6.3.0)

Updates `github/codeql-action` from 4 to 4.35.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4...v4.35.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action
  dependency-version: 4.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-20 18:36:57 +00:00

79 lines
2.3 KiB
YAML

name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout source code
uses: actions/checkout@v6
with:
fetch-depth: 10
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Setup node.js for rapydscript
uses: actions/setup-node@v6.3.0
with:
node-version: "latest"
- name: Install calibre dependencies
run:
python setup/unix-ci.py install
- name: Bootstrap calibre
run:
python setup/unix-ci.py bootstrap
- name: Test calibre
env:
PYTHONWARNINGS: error
CALIBRE_SHOW_DEPRECATION_WARNINGS: 1
run:
python setup/unix-ci.py test
archtest:
name: Test on Arch
runs-on: ubuntu-latest
container:
image: 'archlinux/archlinux:latest'
env:
CI: 'true'
steps:
- name: Setup container
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm tar
- name: Checkout source code
uses: actions/checkout@v6
with:
fetch-depth: 10
persist-credentials: false
- name: Install calibre dependencies
run: setup/arch-ci.sh
- name: Bootstrap calibre
run: runuser -u ci -- python setup.py bootstrap --ephemeral --debug --sanitize
- name: Test calibre
env:
PYTHONWARNINGS: error
CALIBRE_SHOW_DEPRECATION_WARNINGS: 1
run: |
set -xe
runuser -u ci -- python setup.py test --under-sanitize
echo "Running test_rs"
runuser -u ci -- python setup.py test_rs