Move requirements file for tests to the tests folder
This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Dependencies (pip)
|
- name: Install Dependencies (pip)
|
||||||
run: |
|
run: |
|
||||||
pip install -U -r requirements.txt -r requirements-dev.txt
|
pip install -U -r requirements.txt -r tests/requirements.txt
|
||||||
- name: Run Build Commands
|
- name: Run Build Commands
|
||||||
run: python pkgutils.py qtlrelease sample
|
run: python pkgutils.py qtlrelease sample
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Dependencies (pip)
|
- name: Install Dependencies (pip)
|
||||||
run: |
|
run: |
|
||||||
pip install -U pyobjc -r requirements.txt -r requirements-dev.txt
|
pip install -U pyobjc -r requirements.txt -r tests/requirements.txt
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
export QT_QPA_PLATFORM=offscreen
|
export QT_QPA_PLATFORM=offscreen
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Dependencies (pip)
|
- name: Install Dependencies (pip)
|
||||||
run: |
|
run: |
|
||||||
pip install -U -r requirements.txt -r requirements-dev.txt
|
pip install -U -r requirements.txt -r tests/requirements.txt
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
pytest -v --cov=novelwriter --timeout=60
|
pytest -v --cov=novelwriter --timeout=60
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ The dependencies for running the tests can be installed with:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pip install -r requirements-dev.txt
|
pip install -r tests/requirements.txt
|
||||||
|
|
||||||
This will install a couple of extra packages for coverage and test management. The minimum
|
This will install a couple of extra packages for coverage and test management. The minimum
|
||||||
requirement is ``pytest`` and ``pytest-qt``.
|
requirement is ``pytest`` and ``pytest-qt``.
|
||||||
|
|||||||
Reference in New Issue
Block a user