Skip to content

added instructions on how to create a new release to be deployed to pypi #20

added instructions on how to create a new release to be deployed to pypi

added instructions on how to create a new release to be deployed to pypi #20

Workflow file for this run

name: Repository Tests
on:
push:
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Run tests
run: python3 -m pytest citylearn/tests