-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cudmore-dev' into johnson-dev
- Loading branch information
Showing
38 changed files
with
935 additions
and
887 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,12 @@ permissions: | |
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
# runs-on: ubuntu-latest | ||
runs-on: ${{ matrix.platform }} | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest, windows-latest, macos-latest] | ||
# platform: [ubuntu-latest, windows-latest, macos-latest] | ||
platform: [windows-latest, macos-latest] | ||
python-version: ["3.11"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -25,8 +27,11 @@ jobs: | |
cache-dependency-path: setup.py | ||
- name: Install dependencies | ||
run: | | ||
# pip install . | ||
pip install '.[tests]' | ||
# so we don't need to depend on pip install MapManagerCore | ||
git clone -b cudmore-dev https://github.com/mapmanager/MapManagerCore.git | ||
pip install MapManagerCore/. | ||
- name: Run flake8 | ||
run: | | ||
flake8 ./pymapmanager --count --select=E9,F63,F7,F82 --show-source --statistics | ||
|
@@ -35,7 +40,10 @@ jobs: | |
run: | | ||
# exlude anything that requires large data (it is not included in PyPi) | ||
# pytest --cov=./tests --cov-report=xml --ignore=tests/test_gen_example_notebook.py | ||
pytest --cov=./tests --cov-report=xml | ||
# need to specify tests/ folder because now we have a | ||
# MapManagerCore folder which has its own tests/ | ||
pytest -s --cov=./tests --cov-report=xml tests/ | ||
# pytest tests/interface/test_app_tmp.py | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
|
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
from .pyMapManagerApp2 import PyMapManagerApp | ||
|
||
from .mainMenus import PyMapManagerMenus | ||
|
||
from .mainWindow import MainWindow | ||
|
||
from .preferences import Preferences | ||
|
||
from .appDisplayOptions import AppDisplayOptions | ||
from .appDisplayOptions import AppDisplayOptions |
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
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
Oops, something went wrong.