Skip to content

Commit

Permalink
added automated testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpodolak committed Sep 7, 2021
1 parent 260b41a commit 04d15aa
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2.1
orbs:
codecov: codecov/[email protected]
jobs:
build:
docker:
- image: circleci/python:3.6.4
steps:
- checkout
- run:
name: install dependencies
command: |
sudo pip install --upgrade pip
python setup.py sdist bdist_wheel
sudo pip install coverage pytest praw vcr dotenv
sudo pip install .
- run:
name: run tests
command: |
mkdir test-results
coverage run --source=. -m pytest --junitxml=test-results/junit.xml
coverage html
coverage xml
- codecov/upload:
file: coverage.xml
- store_test_results:
path: test-results
- store_artifacts:
path: htmlcov
workflows:
build_test:
jobs:
- build
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Added support for enriching result metadata using PRAW
- Implemented functional tests
- Reduced `max_ids_per_request` to 500
- Added automated testing

## 1.1.0 (2021/05/27)

Expand Down

0 comments on commit 04d15aa

Please sign in to comment.