Skip to content

add emojis to test report titles #9

add emojis to test report titles

add emojis to test report titles #9

Workflow file for this run

name: Deploy package to PyPI
on:
push:
branches: [ v0.3 ]
workflow_dispatch:
permissions:
contents: read
jobs:
test_windows:
name: Run tests - Windows 🪟
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install '.[test]'
- name: Run tests
run: |
pytest --junit-xml=test-results.xml
- name: Publish test results report
if: always()
uses: pmeier/pytest-results-action@main
with:
path: test-results.xml
summary: true
display-options: fEX
fail-on-empty: true
title: Test results - Windows 🪟
test_linux:
name: Run tests - Linux 🐧
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install '.[test]'
- name: Run tests
run: |
pytest --junit-xml=test-results.xml
- name: Publish test results report
if: always()
uses: pmeier/pytest-results-action@main
with:
path: test-results.xml
summary: true
display-options: fEX
fail-on-empty: true
title: Test results - Linux 🐧
test_mac:
name: Run tests - Mac 🍎
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install '.[test]'
- name: Run tests
run: |
pytest --junit-xml=test-results.xml
- name: Publish test results report
if: always()
uses: pmeier/pytest-results-action@main
with:
path: test-results.xml
summary: true
display-options: fEX
fail-on-empty: true
title: Test results - Mac 🍎