Fix TypeError: 'decimal.Decimal' object cannot be interpreted as an i… #511
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ['3.10'] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: './requirements/dev.txt' | |
- name: Install libraries | |
run: pip install -r requirements/dev.txt | |
- name: Run tests | |
run: tox -e py | |
lint-check: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ['3.10'] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: './requirements/dev.txt' | |
- name: Install libraries | |
run: pip install -r requirements/dev.txt | |
- name: lint | |
run: flake8 | |
- name: format | |
run: black --check . |