feat: add support for nano APIs #547
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: PR Validation | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
push: | |
branches: [master, dev] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: Checkout to branch | |
# https://github.com/actions/checkout/releases/tag/v3.5.3 | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- name: Set up Python | |
# https://github.com/actions/setup-python/releases/tag/v4.7.0 | |
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
pip -q --no-input install poetry | |
poetry install | |
- name: Linters | |
run: | | |
poetry run make check | |
- name: Run Tests | |
run: | | |
poetry run make test | |
env: | |
AWS_DEFAULT_REGION: us-west-1 | |
- name: Docs | |
run: | | |
npm install | |
make validate_docs |