Version 2.0.1 - Typo Fix :-/ #17
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: Run Unit Tests | |
on: [push, pull_request] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade -r requirements.txt | |
- name: Run tests | |
run: | | |
python -m unittest discover -v -f ./tests/offline | |
integration-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] | |
services: | |
localstack: | |
image: localstack/localstack | |
ports: | |
- 4566:4566 | |
env: | |
SERVICES: ssm | |
DEFAULT_REGION: eu-west-1 | |
env: | |
FIDELIUS_AWS_KEY_ARN: arn:aws:kms:eu-west-1:123456789012:alias/fidelius-key | |
FIDELIUS_AWS_REGION_NAME: eu-west-1 | |
FIDELIUS_AWS_ENDPOINT_URL: http://localhost:4566 | |
FIDELIUS_AWS_ACCESS_KEY_ID: somemadeupstuff | |
FIDELIUS_AWS_SECRET_ACCESS_KEY: notarealkey | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade -r requirements.txt | |
- name: Run tests | |
run: | | |
python -m unittest discover -v -f ./tests/localstack |