Skip to content

Removed api key caching #63

Removed api key caching

Removed api key caching #63

Workflow file for this run

# This workflows will test the dev version of the API when pushed on github
name: Python Test Github Dev Version
on:
[push, release]
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
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}