Skip to content

Commit

Permalink
Only add Linux binaries to path for Linux testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorton committed Sep 16, 2019
1 parent 66e3966 commit 5bec214
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pmg-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-optional.txt
- name: Install binary dependencies (Linux)
if: ${{ matrix.os }} == "ubuntu-latest"
run: |
export PATH=$PATH:`pwd`/cmd_line/bader/Linux_64bit:`pwd`/cmd_line/aconvasp/Linux_64bit:`pwd`/cmd_line/boltztrap/Linux_64bit
- name: Test with pytest
env:
PMG_MAPI_KEY: ${{ secrets.PMG_MAPI_KEY }}
run: |
pip install -e .
export PATH=$PATH:`pwd`/cmd_line/bader/Linux_64bit:`pwd`/cmd_line/aconvasp/Linux_64bit:`pwd`/cmd_line/boltztrap/Linux_64bit
pytest pymatgen

0 comments on commit 5bec214

Please sign in to comment.