Add a speed optimization in reverse_minute() #84
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: 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/ |