Allow traffic from self in Bastion SG (#23) #41
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: | |
pull_request: | |
branches: | |
- "main" | |
paths-ignore: | |
- ".gitignore" | |
- ".pre-commit-config.yaml" | |
- "*.md" | |
push: | |
branches: | |
- "main" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: tests | |
steps: | |
- uses: "actions/checkout@main" | |
with: | |
fetch-depth: 0 | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: "1.7.1" | |
- uses: "actions/setup-python@master" | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: "Install Python requirements" | |
run: | | |
pip install -U pip wheel | |
pip install -r tests/requirements.txt | |
- name: Run tests | |
run: pytest tests/ |