Skip to content

Commit

Permalink
poc
Browse files Browse the repository at this point in the history
  • Loading branch information
kokes committed Jul 29, 2024
1 parent 0c7f6da commit 6d60c0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 55 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/partial.yaml

This file was deleted.

17 changes: 6 additions & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ on:
pull_request:

jobs:
build:

runs-on: ubuntu-latest
test:
runs-on: ubuntu-latest # TODO: pustit na windows
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"]
python-version: ['3.12'] # TODO: docasne
# python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
Expand All @@ -27,11 +26,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
# TODO: testovat partial jen s nekteryma verzema Py
- 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 }}
pytest -v
2 changes: 1 addition & 1 deletion main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
["module"],
[
("ares",),
("red",),
# ("red",),
],
)
def test_partial(tmp_path, module):
Expand Down

0 comments on commit 6d60c0c

Please sign in to comment.