chore(deps): bump boto3 from 1.28.20 to 1.28.25 in /deployer #1378
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: Deployer testing | |
on: | |
pull_request: | |
paths: | |
- deployer/** | |
- .github/workflows/pr-deployer.yml | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Python | |
id: setup-python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Load cached venv | |
id: cached-poetry-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: deployer/.venv | |
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/pr-deployer.yml') }}-${{ steps.setup-python.outputs.python-version }} | |
- name: Load cached .local | |
uses: actions/cache@v3 | |
with: | |
path: ~/.local | |
key: dotlocal-${{ runner.os }}-${{ hashFiles('.github/workflows/pr-deployer.yml') }}-${{ steps.setup-python.outputs.python-version }} | |
- name: Install Python poetry | |
uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Install deployer | |
run: | | |
cd deployer | |
poetry install | |
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
- name: Lint Python code | |
run: | | |
source deployer/.venv/bin/activate | |
flake8 deployer/src | |
black --check deployer/src | |
- name: Basic run of deployer | |
run: | | |
cd deployer | |
poetry run deployer --help | |
- name: Run deployer unit tests | |
run: | | |
cd deployer | |
poetry run pytest |