Skip to content

Command to create directory structure to run OSeMOSYS_step in desired location #6

Command to create directory structure to run OSeMOSYS_step in desired location

Command to create directory structure to run OSeMOSYS_step in desired location #6

Workflow file for this run

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