1c7708babd
* Make sure the search loop in the editor cannot run infinitely * Add test coverage of infinite search case * Run GitHub actions against the patch branch
34 lines
720 B
YAML
34 lines
720 B
YAML
name: Windows
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- patch
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- patch
|
|
|
|
jobs:
|
|
testWin:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Python Setup
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9
|
|
architecture: x64
|
|
- name: Checkout Source
|
|
uses: actions/checkout@v2
|
|
- name: Install Dependencies
|
|
run: |
|
|
pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
pip install -r requirements-dev.txt
|
|
- name: Run Tests
|
|
run: |
|
|
pytest -v --cov=novelwriter --timeout=60
|
|
- name: Upload to Codecov
|
|
uses: codecov/codecov-action@v1
|