fb5347b8e4
* Update workflows and add requirements-dev.txt * Remove codecov from dev requirements * Update readme and contributing guide * Update PR template
37 lines
828 B
YAML
37 lines
828 B
YAML
name: macOS
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
testMac:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Python Setup
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.9
|
|
architecture: x64
|
|
- name: Install Packages
|
|
run: |
|
|
brew install enchant
|
|
- 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
|
|
pip install pyobjc
|
|
- name: Run Tests
|
|
run: |
|
|
export QT_QPA_PLATFORM=offscreen
|
|
pytest -v --cov=nw --timeout=60
|
|
- name: Upload to Codecov
|
|
uses: codecov/codecov-action@v1
|