example notebook focused on fuel mix #65
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: Install | |
on: [pull_request] | |
jobs: | |
install: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Create wheel and tar.gz | |
run: | | |
poetry build | |
- name: Install package | |
run: | | |
python -m pip install dist/*.whl | |
- name: Test import and simple usage | |
run: | | |
python -c "import gridstatusio;print(gridstatusio.__version__)" |