Skip to content

rename workflow folder #2

rename workflow folder

rename workflow folder #2

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
# 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