Skip to content

Fix trailing whitespace #54

Fix trailing whitespace

Fix trailing whitespace #54

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest]
python-version: ["3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install poetry==1.7
poetry install --with test
- name: Run tests
run: poetry run pytest -v --cov=job_shop_lib -m "not mpl_image_compare"
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install --upgrade pip
pip install poetry==1.7
poetry install --only lint
- name: Run flake8
run: |
poetry run flake8
- name: Run mypy
run: |
poetry run mypy