Skip to content

Integrate AutoModelForSequenceClassification through PytorchModel #285

Integrate AutoModelForSequenceClassification through PytorchModel

Integrate AutoModelForSequenceClassification through PytorchModel #285

Workflow file for this run

name: Lint
on:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
cache: 'pip'
python-version: "3.10"
- name: Install tox-gh
run: pip install tox-gh
- name: Run flake8
run: tox run -e lint
- name: Run mypy
run: tox run -e type