Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions .github/workflows/XmsGridtrace-CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
# Checkout Sources
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
# Setup Python
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -42,10 +42,15 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 flake8-docstrings flake8-bugbear flake8-import-order pep8-naming
pip install "xmsconan==2.16.0" -i https://public.aquapi.aquaveo.com/aquaveo/dev/+simple
# Generate .flake8 so CI lints with the same config developers use locally.
# Do not inline the flake8 settings here: that duplicates .flake8.jinja and
# the two copies drift apart silently.
- name: Generate Build Files
run: xmsconan_gen build.toml
# Flake Code
- name: Run Flake
run: |
flake8 --exclude .tox,.git,__pycache__,_package/tests/files/*,pydocs/source/conf.py,build,dist,tests/fixtures/*,*.pyc,*.egg-info,.cache,.eggs --ignore=D200,D212 --max-line-length=120 --docstring-convention google --isolated --import-order-style=appnexus --application-import-names=xms.gridtrace --application-package-names=xms --count --statistics _package
run: flake8 _package

# ----------------------------------------------------------------------------------------------
# MAC
Expand Down Expand Up @@ -94,7 +99,7 @@ jobs:
clang --version
# Checkout Sources
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
# Setup Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -104,8 +109,11 @@ jobs:
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install conan devpi-client wheel
python -m pip install --upgrade "xmsconan>=2.15.2" -i https://public.aquapi.aquaveo.com/aquaveo/dev/+simple
# conan is pinned to a patch series on purpose: a minor bump can change
# package_id computation and silently detach builds from the binaries
# already published to the remote. Bump this deliberately.
pip install "conan~=2.31.0" devpi-client wheel
python -m pip install --upgrade "xmsconan==2.16.0" -i https://public.aquapi.aquaveo.com/aquaveo/dev/+simple
# Setup Conan
- name: Setup Conan
run: xmsconan_conan_setup --remote-url ${{ env.CONAN_REMOTE_URL }} --login --remove-conancenter
Expand Down Expand Up @@ -234,12 +242,15 @@ jobs:
steps:
# Checkout Sources
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
# Install Python Dependencies
- name: Install Python Dependencies
run: |
pip install conan devpi-client wheel
pip install --upgrade "xmsconan>=2.15.2" -i https://public.aquapi.aquaveo.com/aquaveo/dev/+simple
# conan is pinned to a patch series on purpose: a minor bump can change
# package_id computation and silently detach builds from the binaries
# already published to the remote. Bump this deliberately.
pip install "conan~=2.31.0" devpi-client wheel
pip install --upgrade "xmsconan==2.16.0" -i https://public.aquapi.aquaveo.com/aquaveo/dev/+simple
# Setup Conan
- name: Setup Conan
run: xmsconan_conan_setup --remote-url ${{ env.CONAN_REMOTE_URL }} --login
Expand Down Expand Up @@ -368,7 +379,7 @@ jobs:
steps:
# Checkout Sources
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
# Setup Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -383,8 +394,11 @@ jobs:
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install conan devpi-client wheel
python -m pip install --upgrade "xmsconan>=2.15.2" -i https://public.aquapi.aquaveo.com/aquaveo/dev/+simple
# conan is pinned to a patch series on purpose: a minor bump can change
# package_id computation and silently detach builds from the binaries
# already published to the remote. Bump this deliberately.
pip install "conan~=2.31.0" devpi-client wheel
python -m pip install --upgrade "xmsconan==2.16.0" -i https://public.aquapi.aquaveo.com/aquaveo/dev/+simple
# Setup Visual Studio
- name: Setup Visual Studio
uses: microsoft/setup-msbuild@v2
Expand Down
8 changes: 4 additions & 4 deletions build.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ description = "Grid tracing library for XMS products"
ci_type = "github"

xms_dependencies = [
{ name = "xmscore", version = "7.0.8" },
{ name = "xmsgrid", version = "9.0.9" },
{ name = "xmsinterp", version = "7.0.8" },
{ name = "xmsextractor", version = "10.0.6" },
{ name = "xmscore", version = "7.0.11" },
{ name = "xmsgrid", version = "9.0.10" },
{ name = "xmsinterp", version = "7.0.9" },
{ name = "xmsextractor", version = "10.0.7" },
]

python_namespaced_dir = "gridtrace"
Expand Down
Loading