Bump python-telegram-bot from 13.11 to 21.3 #121
Workflow file for this run
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: Run tests | |
on: [push] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
# Latest minor release of Python 3 | |
python-version: '3.x' | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Install pytest | |
run: pip install pytest coverage | |
- name: Run tests | |
run: | | |
coverage run -m pytest | |
coverage xml | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v1 | |
# with: | |
# file: ./coverage.xml | |
# name: codecov-umbrella | |
# fail_ci_if_error: true |