Skip to content

unit-tests workflows on ubuntu 20.04 #2

unit-tests workflows on ubuntu 20.04

unit-tests workflows on ubuntu 20.04 #2

Workflow file for this run

name: unit tests
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.9.2]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
run: |
poetry run pytest