From 85a363530f2a6fe396e766775475afff0a0784e3 Mon Sep 17 00:00:00 2001 From: Jason Solomon Date: Fri, 15 Oct 2021 10:01:43 +1100 Subject: [PATCH 1/5] Install dfVFS from GIFT --- .github/workflows/unit-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 8263a97..4ce0683 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,9 +21,11 @@ jobs: - 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] - pipenv install -r dfvfs_requirements.txt - name: Run unit tests run: pipenv run python run_tests.py From 8586938f6845b94e4ea344bee553a39b06f628f6 Mon Sep 17 00:00:00 2001 From: Jason Solomon Date: Fri, 15 Oct 2021 10:05:54 +1100 Subject: [PATCH 2/5] Install dfVFS from GIFT --- .github/workflows/unit-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 4ce0683..6262184 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,9 +21,9 @@ jobs: - name: Install dependencies run: | - add-apt-repository -y ppa:gift/stable - apt update -q - apt install -y python3-dfvfs + sudo add-apt-repository -y ppa:gift/stable + sudo apt update -q + sudo apt install -y python3-dfvfs pip install pipenv pipenv install -e .[dev] From 99ea39c494c56ac3ee1473377c04cc263999b96a Mon Sep 17 00:00:00 2001 From: Jason Solomon Date: Fri, 15 Oct 2021 10:24:28 +1100 Subject: [PATCH 3/5] Install dfVFS from GIFT --- .github/workflows/unit-tests.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 6262184..6f6896d 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -5,27 +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: | sudo add-apt-repository -y ppa:gift/stable sudo apt update -q - sudo apt install -y python3-dfvfs - pip install pipenv - pipenv install -e .[dev] + 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 From ed514be532e0c21ddf55d993a6a148f67aa3ddf9 Mon Sep 17 00:00:00 2001 From: Jason Solomon Date: Fri, 15 Oct 2021 10:33:05 +1100 Subject: [PATCH 4/5] Install dfVFS from GIFT --- .github/workflows/unit-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 6f6896d..efb0556 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,8 +10,11 @@ jobs: strategy: matrix: include: + - python-version: '3.6' + - python-version: '3.7' - python-version: '3.8' - python-version: '3.9' + - python-version: '3.10' steps: - uses: actions/checkout@v2 From 2eb427aba7fc49365eeb03c45a18fcaac340cf93 Mon Sep 17 00:00:00 2001 From: Jason Solomon Date: Fri, 15 Oct 2021 10:38:16 +1100 Subject: [PATCH 5/5] Install dfVFS from GIFT --- .github/workflows/unit-tests.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index efb0556..6f6896d 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,11 +10,8 @@ jobs: strategy: matrix: include: - - python-version: '3.6' - - python-version: '3.7' - python-version: '3.8' - python-version: '3.9' - - python-version: '3.10' steps: - uses: actions/checkout@v2