Skip to content

Bump black from 22.3.0 to 24.3.0 #55

Bump black from 22.3.0 to 24.3.0

Bump black from 22.3.0 to 24.3.0 #55

name: "Pull Request - Test Code"
"on":
pull_request:
branches:
- main
jobs:
unit:
name: Unit+README Tests
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', 'pypy-3.9']
steps:
- name: Checkout Service
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "${{ matrix.python-version }}"
- name: Setup
run: make setup-cicd
- name: Unit Tests
run: make test-unit
- name: Test README.md sample code
run: make test-readme
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
- name: Checkout Service
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup
id: setup
run: make setup-cicd
- name: Lint
run: make lint
format:
name: Check Formatting
runs-on: ubuntu-20.04
steps:
- name: Checkout Service
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup
id: setup
run: make setup-cicd
- name: Check Formatting
run: make format-check
type-check:
name: Type Checking
runs-on: ubuntu-20.04
steps:
- name: Checkout Service
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup
id: setup
run: make setup-cicd
- name: Type Checking
run: make type-check-strict