Skip to content

[FIX] Restrict end of regex to prevent matches with non-date strings #181

[FIX] Restrict end of regex to prevent matches with non-date strings

[FIX] Restrict end of regex to prevent matches with non-date strings #181

Workflow file for this run

name: codecov
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate coverage report
run: |
pip install pytest
pip install pytest-cov
pytest --cov=chatminer --cov-config=setup.cfg --cov-report=xml test/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
flags: unittests
dry_run: false