Skip to content

Commit

Permalink
Merge 568b60f into f96bca6
Browse files Browse the repository at this point in the history
  • Loading branch information
nsomabalint committed Dec 27, 2020
2 parents f96bca6 + 568b60f commit a81d56f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/datetime-parser-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest flake8 mypy
pip install -r test_requirements.txt
pip install -r requirements.txt
- name: Static analysis with mypy
run: |
Expand All @@ -30,4 +30,8 @@ jobs:
python -m flake8 --max-line-length=120 --per-file-ignores='patterns.py:E501' hun_date_parser
- name: Test with pytest
run: |
pytest
pytest --cov hun_date_parser
- name: Coverage report
run: python -m coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<img src="https://img.shields.io/github/issues/nsoma97/hun-date-parser" alt="Issues Badge"/>
<img src="https://img.shields.io/github/license/nsoma97/hun-date-parser?color=2b9348" alt="License Badge"/>
<img src="https://img.shields.io/github/workflow/status/nsoma97/hun-date-parser/Datetime Parser Pipeline" alt="Tests"/>
<a href='https://coveralls.io/github/nsoma97/hun-date-parser'><img src='https://coveralls.io/repos/github/nsoma97/hun-date-parser/badge.svg' alt='Coverage Status' /></a>
</div>

<br>
Expand Down
5 changes: 5 additions & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pytest
flake8
mypy
pytest-cov
coveralls

0 comments on commit a81d56f

Please sign in to comment.