oops missed format change bcuz of some python/package version confusion #523
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-20.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8.16 | |
cache: 'pip' | |
cache-dependency-path: './requirements/dev.txt' | |
- name: Install libraries | |
run: pip install -r requirements/dev.txt | |
- name: Run tests | |
run: tox | |
lint-check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8.16 | |
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 . |