August 2024 no longer returning data from HowLongToBeat.com #25
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
# This workflows will test the dev version of the API when pushed on github | |
name: Python Test Github Community | |
on: | |
[pull_request, discussion, issues] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Disabling shallow clone is recommended for improving relevancy of reporting | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
cd howlongtobeatpy | |
python -m pip install --upgrade pip | |
pip install -U pytest pytest-cov | |
pip install . | |
- name: Test | |
run: pytest --cov=howlongtobeatpy --cov-report=xml |