This repository has been archived by the owner on Feb 21, 2024. It is now read-only.
Merge pull request #53 from aws-samples/dependabot/pip/cryptography-4… #23
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: Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
unit_tests: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Setup | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install python dependencies | |
run: | | |
pip install pipenv | |
pipenv install --dev --ignore-pipfile | |
# Run Tests | |
- name: Unit tests | |
run: pipenv run py.test --cov=drainer |