dfdewey/.github/workflows/unit-tests.yml
2021-10-15 10:01:43 +11:00

31 lines
691 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: |
add-apt-repository -y ppa:gift/stable
apt update -q
apt install -y python3-dfvfs
pip install pipenv
pipenv install -e .[dev]
- name: Run unit tests
run: pipenv run python run_tests.py