-
Notifications
You must be signed in to change notification settings - Fork 22
executable file
·40 lines (31 loc) · 845 Bytes
/
test.yml
File metadata and controls
executable file
·40 lines (31 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Run tests
on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-14]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Install prerequisites on Ubuntu
if: matrix.os == 'ubuntu-24.04'
run: |
sudo apt update
sudo apt install --yes libdjvulibre21 libdjvulibre-dev
- name: Install prerequisites on macOS
if: matrix.os == 'macos-14'
run: brew install djvulibre
# - name: Install prerequisites on Windows
# if: matrix.os == 'windows-2022'
# run: |
# choco install djvu-libre
# vcpkg install tiff
- uses: astral-sh/setup-uv@v7
- name: Install dependencies
run: uv sync --all-extras
- name: Lint
run: make lint
- name: Test
run: make test