Skip to content

Commit

Permalink
BUG: trying soft link
Browse files Browse the repository at this point in the history
Trying to soft link the install directory to cover all possible install locations.
  • Loading branch information
aburrell committed Jun 17, 2022
1 parent 2211c3f commit 8893b5d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,13 @@ jobs:
python -m build
python -m pip install -e .
- name: Extend python path
run: |
echo "installed_path=$PWD\build\Lib\site-packages" >> $env:GITHUB_ENV
echo "PYTHONPATH=${env:installed_path}" >> $env:GITHUB_ENV
$apexpy_path = "${env:installed_path}\apexpy"
- name: Soft link installed directory to main site packages
run: ln -s apexpy $pythonLocation\lib\python${{ matrix.python-version }}\site-packages\.

- name: Run unit and integration tests
run: |
dir apexpy
echo "PYTHON LOC: $env.pythonLocation"
echo "CUR DIR: $PWD"
echo $env:GITHUB_ENV
echo $env.apexpy_path
dir $pythonLocation\lib\python${{ matrix.python-version }}\site-packages
coverage run --rcfile=setup.cfg -m pytest --cov=apexpy
- name: Publish results to coveralls upon success
Expand Down

0 comments on commit 8893b5d

Please sign in to comment.