spotfm/.github/workflows/ci.yml

30 lines
750 B
YAML
Raw Permalink Normal View History

2021-02-07 15:03:26 +00:00
name: Tests
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
poetry-version: [1.1.4]
2024-07-28 14:26:52 +01:00
os: [ubuntu-22.04]
2021-02-07 15:03:26 +00:00
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2 # get source
- name: Install Python 3
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry # dependency management
uses: abatilo/actions-poetry@v2.1.0
with:
poetry-version: ${{ matrix.poetry-version }}
2021-03-20 17:58:38 +00:00
- name: Install Dependencies
2021-02-07 15:26:14 +00:00
run: poetry install
- name: Run Tests # test script
run: poetry run python -m unittest discover -s tests