Skip to content

Update actions

Update actions #129

Workflow file for this run

name: Run Python tests
on: [push]
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
# check-out repo and set-up python
- uses: szenius/[email protected]
with:
timezoneLinux: "Europe/Berlin"
- name: Check out repository
uses: actions/checkout@v3
- name: Set up python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# install & configure poetry
- name: Poetry & environment setup
uses: snok/[email protected]
with:
virtualenvs-create: true
virtualenvs-in-project: true
- run: poetry install --no-interaction --all-extras
# - run: poetry shell
# - run: pip install pytest-md pytest-emoji
# test!
- name: Test Python ${{ matrix.python-version }}
run: poetry run pytest -v
# uses: pavelzw/[email protected]
# with:
# verbose: true
# emoji: true
# job-summary: true
# click-to-expand: true
# report-title: 'Byron Test Report'