ChimeraX 1.7 needs MacOS 10.15 or later #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
python-version: 3.11 # Need to match that used by ChimeraX | |
with_qt: | |
- os: macos-latest | |
python-version: 3.11 # Need to match that used by ChimeraX | |
with_qt: true | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install coverage scipy pytest-cov flake8 pep8-naming | |
if [ "${{ matrix.with_qt }}" = "true" ]; then pip install PyQt5; fi; | |
- name: Test | |
run: | | |
if [ "${{ matrix.with_qt }}" = "true" ]; then export RMF_DISABLE_QT_MOCK=1; fi; | |
py.test --cov=. --cov-branch --cov-report=xml -v . | |
flake8 --ignore N802,N803,N818,E402,W503 --exclude src/windows,src/linux,src/mac,build . | |
- uses: codecov/codecov-action@v1 |