dfdewey/.github/workflows/unit-tests.yml
2020-11-24 17:25:31 +11:00

29 lines
631 B
YAML

name: unit-tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
pip:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
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: |
pip install pipenv
pipenv install -e .[dev]
pipenv install -r dfvfs_requirements.txt
- name: Run unit tests
run: pipenv run python run_tests.py