Skip to content

Require that single-action examples are not duplicated and specify exactly one service and one action #64

Require that single-action examples are not duplicated and specify exactly one service and one action

Require that single-action examples are not duplicated and specify exactly one service and one action #64

Workflow file for this run

name: Test awsdocs/aws-doc-sdk-examples-tools
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
pytest:
name: lint, check, and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
cache: "pip"
- run: pip install -r requirements.txt
- run: python -m black --check --diff **/*.py
- run: python -m mypy aws_doc_sdk_examples_tools
# Run both checks and formatting
if: success() || failure()
- run: python -m pytest -vv
if: success() || failure()