Prefer dateutil_parser.parse() to strptime for datetime parsing #38
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
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
sudo apt-get update | |
sudo apt-get install -y libxml2-dev libxslt-dev python3-dev exuberant-ctags | |
python -m venv .venv | |
source .venv/bin/activate | |
pip install -r requirements.txt | |
- name: Install dev dependencies | |
run: | | |
source .venv/bin/activate | |
pip install -r requirements-dev.txt | |
- name: Run tests | |
run: | | |
source .venv/bin/activate | |
make test |