Command to create directory structure to run OSeMOSYS_step in desired location #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11"] | |
# os: [ubuntu-latest, windows-latest] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install hatch | |
- name: Create Environment | |
run: hatch env create | |
- name: Test OSeMOSYS_step | |
run: hatch run test | |
# - name: Format OSeMOSYS_step | |
# run: hatch fmt | |
# uncomment for auto-pushing to PyPI | |
# - name: Build OSeMOSYS_step | |
# run: hatch build |