forked from sphinx-doc/sphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 845 Bytes
/
latex.yml
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
name: CI (LaTeX)
on: [push, pull_request]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
name: Test on LaTeX image
container:
image: ghcr.io/sphinx-doc/sphinx-ci
env:
DO_EPUBCHECK: "1"
steps:
- name: Alias python3 to python
run: ln -s /usr/bin/python3 /usr/bin/python
- uses: actions/checkout@v3
- name: Check Python version
run: python --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
- name: Test with pytest
run: >
python
-X dev
-X warn_default_encoding
-m pytest
-vv
--color yes
--durations 25