Skip to content

Commit ef5a22d

Browse files
committed
testing
1 parent 345e31f commit ef5a22d

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/pytest.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Run Python tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: Run tests
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.6", "3.7", "3.8", "3.9","3.10","3.11","3.12","3.13"]
12+
13+
steps:
14+
- uses: szenius/set-timezone@v1.2
15+
with:
16+
timezoneLinux: "Europe/Berlin"
17+
- uses: actions/checkout@v3
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: pip install pytest pytest-md pytest-emoji
24+
- uses: pavelzw/pytest-action@v2
25+
with:
26+
emoji: false
27+
verbose: false
28+
job-summary: true

tests/test_ass.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
""" Test SubStation Alpha Subtitles. """
2+
13
# cSpell: disable
24
# Test SubStation Alpha Subtitles 4.00+
35
import tempfile

0 commit comments

Comments
 (0)