mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 03:35:56 +02:00
Add pytest pipeline
This commit is contained in:
parent
c5ac0228ef
commit
83e767051a
1 changed files with 28 additions and 0 deletions
28
.github/workflows/pytest.yml
vendored
Normal file
28
.github/workflows/pytest.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: Run Python tests
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Run tests
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.11"]
|
||||
|
||||
steps:
|
||||
- uses: szenius/set-timezone@v1.2
|
||||
with:
|
||||
timezoneLinux: "Europe/Brussels"
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: pip install pytest pytest-md pytest-emoji
|
||||
- uses: pavelzw/pytest-action@v2
|
||||
with:
|
||||
emoji: false
|
||||
verbose: false
|
||||
job-summary: true
|
Loading…
Add table
Reference in a new issue