-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(dag): add NetworkX python package as DAG option (#98)
Modified makefile generation to remove date and time so that changes to makefiles are limited to source file name and dependency changes. Refactored setup.py to a more modern format. Bumped version number to 1.2.1. Black formatting. Added test of standard installation.
- Loading branch information
1 parent
4d8313f
commit 5b8d6bd
Showing
19 changed files
with
364 additions
and
253 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
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 |
---|---|---|
|
@@ -41,9 +41,42 @@ jobs: | |
- name: Run pylint | ||
run: pylint --jobs=0 --errors-only ./pymake | ||
|
||
pymake_setup: | ||
name: standard installation | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
|
||
# check out repo | ||
- name: Checkout pymake repo | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python 3.9 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Upgrade pip and install wheel | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
- name: Base pymake installation | ||
run: | | ||
pip install . --use-feature=in-tree-build | ||
- name: Print pymake version | ||
run: | | ||
python -c "import pymake; print(pymake.__version__)" | ||
pymakeCI-os-gcc: | ||
name: pymake CI gcc on different OSs | ||
needs: pymake_lint | ||
needs: [pymake_lint, pymake_setup] | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
|
@@ -109,7 +142,7 @@ jobs: | |
|
||
pymakeCI-os-intel: | ||
name: pymake CI intel on different OSs | ||
needs: pymake_lint | ||
needs: [pymake_lint, pymake_setup] | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
|
@@ -233,7 +266,7 @@ jobs: | |
pymakeCI-gcc-prev: | ||
name: pymake CI GCC 9 and 8 | ||
needs: pymake_lint | ||
needs: [pymake_lint, pymake_setup] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
@@ -290,7 +323,7 @@ jobs: | |
|
||
pymakeCI-requests: | ||
name: pymake CI requests | ||
needs: pymake_lint | ||
needs: [pymake_lint, pymake_setup] | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
|
@@ -324,7 +357,7 @@ jobs: | |
|
||
pymakeCI-python-prev: | ||
name: pymake CI with previous python versions | ||
needs: pymake_lint | ||
needs: [pymake_lint, pymake_setup] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
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,6 +1,10 @@ | ||
# Exclude files | ||
global-exclude .DS_Store *.pyc *.pyo *.pyd *.swp *.bak *~ .* *.sh *.yml | ||
global-exclude .DS_Store *.pyc *.pyo *.pyd *.swp *.bak *~ .* *.sh *.yml *.md *.toml | ||
prune */__pycache__ | ||
# exclude directories | ||
exclude docs/* | ||
exclude autotest/* | ||
# include specific files | ||
include pymake/utils/usgsprograms.txt | ||
recursive-include example *.py *.bat | ||
include pymake/examples/*.bat | ||
include pymake/examples/*.py |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
coverage: | ||
precision: 3 | ||
round: down | ||
range: "50...100" | ||
status: | ||
project: off | ||
patch: off | ||
comment: | ||
layout: "diff, files" |
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.