Skip to content

Bump more-itertools from 10.0.0 to 10.1.0 #489

Bump more-itertools from 10.0.0 to 10.1.0

Bump more-itertools from 10.0.0 to 10.1.0 #489

Workflow file for this run

---
name: CI
"on":
push:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
ci:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry Action
uses: snok/[email protected]
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: |
.venv
.local/bin-cc
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- run: pip install poetry
- run: poetry install --all-extras
# For transformers v4.22.0
- run: |
poetry run python -c \
'import transformers;transformers.utils.move_cache()'
- run: poetry run make setup-cc
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: npm
- run: npm install
- env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
run: |
poetry run make -j $(nproc) lint
poetry run make -j $(nproc) test-cc