xrandroll/.github/workflows/tests.yml

34 lines
695 B
YAML
Raw Normal View History

2022-06-08 09:29:16 -03:00
name: CI
on:
2022-06-08 10:27:34 -03:00
[push]
2022-06-08 09:29:16 -03:00
jobs:
build:
strategy:
matrix:
python-version: ["3.10"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Run unit tests
run: |
poetry run pytest