Skip to content

Commit

Permalink
Create data directory on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Jun 8, 2022
1 parent f0d4c10 commit 5a00bd1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,20 @@ jobs:
python -m pip install --upgrade pip wheel
pip install numpy==${{ matrix.numpy-version }}
pip install pyparsing==2.4.7 # For issue with six which requires pyparsing < 3
pip install cython # for compiliong h5py from source
- name: Create data directory
if: runner.os == 'Windows'
env:
DUST_DIR: ${{github.workspace}}/data/
run: New-Item -ItemType directory -Path $env:DUST_DIR
- name: Create data directory
if: runner.os != 'Windows'
env:
DUST_DIR: ${{github.workspace}}/data/
run: mkdir $DUST_DIR
- name: Test downloads
env:
DUST_DIR: ${{github.workspace}}/data/
run: |
mkdir $DUST_DIR
python setup.py install --test-downloads --all-downloads
- name: Install package
run: |
Expand Down

0 comments on commit 5a00bd1

Please sign in to comment.