Skip to content

fix boto3 profile

fix boto3 profile #16

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/ci.yaml'
- '.github/actions/asdf_tools/action.yaml'
- '.github/actions/python_dependencies/action.yaml'
- '.tool-versions'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- '.github/workflows/ci.yaml'
- '.github/actions/asdf_tools/action.yaml'
- '.github/actions/python_dependencies/action.yaml'
- '.tool-versions'
defaults:
run:
shell: bash
concurrency:
group: ci-$ {{github.ref }}
cancel-in-progress: true
jobs:
setup:
name: Python Setup
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/python_dependencies
black:
name: Format Python with Black
runs-on: ubuntu-22.04
needs: setup
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/python_dependencies
# returns an error if black would reformat any file
- run: poetry run black . --check
mypy:
name: Type Check with MyPy
runs-on: ubuntu-22.04
needs: setup
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/python_dependencies
# returns an error if mypy detects a type error
- run: poetry run mypy .
pylint:
name: Lint Python using pylint
runs-on: ubuntu-22.04
needs: setup
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/python_dependencies
# returns an error if pylint detects any issues
- run: poetry run pylint src tests