-
Notifications
You must be signed in to change notification settings - Fork 16
37 lines (33 loc) · 972 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: test
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
# dataset: ["ares", "cedr", "cssz", "datovky", "dotinfo", "iissp", "psp.steno", "szif"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Test with pytest
run: |
pytest -v data/steno/
# TODO: doresit problem s importy
# TODO: vypnute, protoze vzdycky aspon jeden job spadnul kvuli random timeoutu
# - name: Try all pipelines
# run: |
# python3 main.py --partial ${{ matrix.dataset }}