Skip to content

Add a speed optimization in reverse_minute() #84

Add a speed optimization in reverse_minute()

Add a speed optimization in reverse_minute() #84

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
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 dependencies
if: ${{ matrix.python-version == '3.7' || matrix.python-version == '3.8' }}
run: |
python -m pip install --upgrade pip
pip install backports.zoneinfo
- name: Run tests
run: python -m unittest tests/test_*
- name: Run mypy
run: pip install mypy && mypy --strict cronsim/