Skip to content

Improve Camelyon16 benchmark #151

Improve Camelyon16 benchmark

Improve Camelyon16 benchmark #151

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: linting-validation
# Controls when the workflow will run
on:
push:
branches:
- main
pull_request:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint:
name: lint
runs-on: ${{ matrix.os }}
matrix:

Check failure on line 16 in .github/workflows/linting.yml

View workflow run for this annotation

GitHub Actions / linting-validation

Invalid workflow file

The workflow is not valid. .github/workflows/linting.yml (Line: 16, Col: 5): Unexpected value 'matrix'
os: [ubuntu-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install isort black==22.3.0
pip install flake8
- name: Run black
run: black --line-length=89 --check .
- name: Run FLAKE8
run: flake8 --max-line-length=89 --per-file-ignores="*/__init__.py:F401" ./flamby
- name: Run isort
run: isort .