011291f225
* Drop support for Python 3.6 * Remove unused time parsing function * Use Python 3.7 datetime function for writing stats data conversion * Test against Python 3.10 on macOS and Windows
32 lines
695 B
YAML
32 lines
695 B
YAML
name: Windows
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
testWin:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Python Setup
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.10"
|
|
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
|