Skip to content

chore(deps): update actions/setup-python digest to 65d7f2d #37

chore(deps): update actions/setup-python digest to 65d7f2d

chore(deps): update actions/setup-python digest to 65d7f2d #37

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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Setup timezone
uses: zcong1993/setup-timezone@master
with:
timezone: UTC
- name: Set up Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry
- name: Install dependencies
shell: bash
run: python -m poetry install
- name: Test with pytest
run: |
python -m poetry run pytest
- name: Check coverage
run: |
python -m poetry run pytest --cov=pythonanywhere_core --cov-fail-under=65