preliminary date comparison methods #63
Workflow file for this run
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: style + docs check | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: . | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
cache-dependency-path: '**/setup.cfg' | |
- name: Install package with dependencies | |
run: pip install -e ".[dev]" | |
if: steps.python-cache.outputs.cache-hit != 'true' | |
- name: Run black | |
run: black src --check --diff | |
- name: Check that documentation can be built | |
run: tox -e docs |