Skip to content

Update actions/checkout action to v4 #28

Update actions/checkout action to v4

Update actions/checkout action to v4 #28

Workflow file for this run

name: Unit tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v4
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install pipenv --upgrade-strategy=only-if-needed
pipenv install --dev --skip-lock
- name: Test with pytest
run: pipenv run pytest --cov