Skip to content

Merge pull request #4 from pythonanywhere/renovate/actions-setup-pyth… #14

Merge pull request #4 from pythonanywhere/renovate/actions-setup-pyth…

Merge pull request #4 from pythonanywhere/renovate/actions-setup-pyth… #14

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup timezone
uses: zcong1993/setup-timezone@master
with:
timezone: UTC
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
- name: Test with pytest
run: |
pytest
- name: Check coverage
run: |
pytest --cov=snakesay --cov-fail-under=65