Skip to content

update yml

update yml #2

Workflow file for this run

name: Test Package
on: [ push ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
name: ${{ matrix.os }} ${{ matrix.python-version }}
steps:
- name: Checkout Repo
uses: actions/checkout@v2
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
update-conda: true
python-version: ${{ matrix.python-version }}
conda-channels: anaconda, conda-forge
- run: conda --version
- run: which python
- name: Install NREL-PySAM
run: |
conda install -c nrel nrel-pysam
- name: Unit tests
run: |
pip install pytest
pytest tests