Skip to content

Merge pull request #85 from pythonanywhere/dependabot/pip/requests-2.… #198

Merge pull request #85 from pythonanywhere/dependabot/pip/requests-2.…

Merge pull request #85 from pythonanywhere/dependabot/pip/requests-2.… #198

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Setup timezone
uses: zcong1993/setup-timezone@master
with:
timezone: UTC
- name: Set up Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
pip3 install -e .
- name: Test with pytest
run: |
pytest
- name: Check coverage
run: |
pytest --cov=cli --cov=pythonanywhere --cov=scripts --cov-fail-under=65