mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
Merge pull request #2 from KoenigMjr/pytest-update-manual-run
Pytest update manual run
This commit is contained in:
commit
fcc9634be2
11
.github/workflows/run_pytest.yml
vendored
11
.github/workflows/run_pytest.yml
vendored
|
|
@ -1,6 +1,9 @@
|
||||||
name: pytest
|
name: pytest
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
#workflow_dispatch: # Hier manuelles Starten erlauben, automatisch nach jedem Commit
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -8,7 +11,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
|
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -30,7 +33,7 @@ jobs:
|
||||||
pytest -c 'test/pytest.ini'
|
pytest -c 'test/pytest.ini'
|
||||||
|
|
||||||
- name: Save artifacts
|
- name: Save artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test.log
|
name: test-${{ matrix.python-version }}.log
|
||||||
path: log/test.log
|
path: log/test.log
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ mkdocs
|
||||||
# for develope only
|
# for develope only
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
flake8==4.0.1
|
flake8==6.1.0
|
||||||
pytest-flake8
|
pytest-flake8
|
||||||
pytest-flakes
|
pytest-flakes
|
||||||
pytest-randomly
|
pytest-randomly
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue