Skip to content

Bump pygments from 2.10.0 to 2.15.0 #37

Bump pygments from 2.10.0 to 2.15.0

Bump pygments from 2.10.0 to 2.15.0 #37

Workflow file for this run

name: "CI Build & Test"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.7
- 3.9
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install Dependencies
run: |
poetry install
# Use a specific version of setuptools because of a bug in PyTorch https://stackoverflow.com/a/70520199/1226799. It should be resolved already but PyTorch hasn't updated yet.
poetry run pip install setuptools=='59.5.0'
- name: Lint
run: |
poetry run yapf --diff --parallel --recursive .
- name: Test
run: |
poetry run pytest -m 'not slow'
if: success() || failure()