Skip to content

Commit

Permalink
ci: windows: Stop testing Windows temporarily
Browse files Browse the repository at this point in the history
Failing Python tests are not resulting in the failing of the Windows CI
jobs (green check when really tests are failing). Since there is now an
issue with package installation permissions which does fail the job (red
X) we're just going to disable the jobs for now.

Related: #1129

Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
  • Loading branch information
pdxjohnny committed Jul 17, 2021
1 parent 901cbe9 commit cab8349
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,47 +240,6 @@ jobs:
export PATH="${HOME}/.local/bin:${PATH}"
./.ci/run.sh consoletest ${{ matrix.docs }}
windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Checkout full upstream repo
run: |
git remote set-url origin https://github.com/intel/dffml
git fetch --prune --unshallow
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Get pip cache
id: pip-cache
run: |
python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)"
- name: pip cache
uses: actions/cache@v1
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Setup DFFML
run: |
pip install -U pip setuptools wheel
pip install -e .[dev]
echo Install torch and torch vision seperately to avoid MemoryError
echo See https://stackoverflow.com/a/52845257
pip install --no-cache -f https://download.pytorch.org/whl/torch_stable.html torch
pip install --no-cache -f https://download.pytorch.org/whl/torch_stable.html torchvision
dffml service dev install -skip model/daal4py
- name: Test
run: |
python -m unittest discover -v
python -m pip freeze
macos:
runs-on: macos-latest
strategy:
Expand Down

0 comments on commit cab8349

Please sign in to comment.