Skip to content

Commit

Permalink
update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed Mar 13, 2024
1 parent 1829ec4 commit 658e2c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]

env:
SAMNTDIR: ${{ github.workspace }}/SAM
SAMNTDIR: ${{ github.workspace }}/../SAM

name: ${{ matrix.os }} ${{ matrix.python-version }}
steps:
Expand All @@ -22,6 +22,7 @@ jobs:
- uses: actions/checkout@v3
- name: Checkout SAM
run: |
cd ..
git config --global url.https://github.com/.insteadOf git://github.com/
git clone https://github.com/NREL/SAM.git
ls
Expand All @@ -47,6 +48,6 @@ jobs:
- name: Unit tests
run: |
ls
pwd
pytest tests
ls ${{ env.SAMNTDIR }}/api/api_autogen/library/defaults
pytest tests/test_pysam_all.py

0 comments on commit 658e2c3

Please sign in to comment.