Fix rendering of type annotations with Literal
enumeration values
#1441
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |