Skip to content

label workers by logial_resouces to constrain deployment #275

label workers by logial_resouces to constrain deployment

label workers by logial_resouces to constrain deployment #275

Workflow file for this run

name: Lint and Tests
on:
# Trigger the workflow on push to master or any pull request
push:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 8
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install
run: |
python --version
python -m pip install --upgrade 'pip>=22.1.2'
python -m pip show pip
python -m pip install -e '.'
python -m pip install -e '.[dev]'
- name: pytest
run: pytest
- name: isort
run: isort --check --diff .
- name: black
run: black --check --diff .
- name: mypy
run: mypy