29 lines
631 B
YAML
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
|