chore: CHANGELOG updated for v3.0.2 #72
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: Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests-python3: | |
runs-on: ubuntu-20.04 # this should probably get updated to a python 3.9+ image | |
steps: | |
- uses: actions/checkout@v2 | |
- name: print python version | |
run: python3 --version | |
- name: install requirements | |
run: pip3 install -r requirements.txt | |
- name: run the tests | |
run: python3 tests.py | |
- name: verify type hints | |
run: mypy . --strict | |
- name: verify package install | |
run: python3 setup.py install --user | |
- name: verify we can import | |
run: python3 -c "from datemath import datemath; print(datemath('now-1d'))" |