Merge branch 'master' into development #944
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: Codecov | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: codecov | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.10' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install deps | |
run: | | |
pip install .[test,sentiment] | |
- name: Run tests and collect coverage | |
run: | | |
coverage run -m pytest --run_sentiment | |
coverage xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 |