Merge pull request #21 from google/dfvfs
Install dfVFS from GIFT for unit tests
This commit is contained in:
commit
2be9dceb27
1 changed files with 16 additions and 9 deletions
25
.github/workflows/unit-tests.yml
vendored
25
.github/workflows/unit-tests.yml
vendored
|
@ -5,25 +5,32 @@ on:
|
|||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
pip:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.8]
|
||||
include:
|
||||
- python-version: '3.8'
|
||||
- python-version: '3.9'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo apt update -q
|
||||
sudo apt install -y software-properties-common
|
||||
|
||||
- name: Install dependencies
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
pip install pipenv
|
||||
pipenv install -e .[dev]
|
||||
pipenv install -r dfvfs_requirements.txt
|
||||
sudo add-apt-repository -y ppa:gift/stable
|
||||
sudo apt update -q
|
||||
sudo apt install -y python${{ matrix.python-version }} python3-dfvfs python3-pip python3-setuptools
|
||||
python3 -m pip install .[dev]
|
||||
|
||||
- name: Run unit tests
|
||||
run: pipenv run python run_tests.py
|
||||
run: python3 run_tests.py
|
||||
|
|
Loading…
Reference in a new issue