Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop to stable == 9.0.0 #2382

Closed
wants to merge 204 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
26f47ab
Merge pull request #1749 from Open-MSS/merge_stable_to_develop
ReimarBauer Apr 27, 2023
3d64cd3
Merge branch 'stable' into merge_stable_into_develop
ReimarBauer May 5, 2023
665e2fd
Merge pull request #1779 from Open-MSS/merge_stable_into_develop
ReimarBauer May 5, 2023
8462619
Tests added for remote sensing widget (#1739)
rootxrishabh May 10, 2023
fc0fabd
Add an option to use pcolormesh instead of contourf for generic hsec …
joernu76 May 16, 2023
1abe9ee
fix
joernu76 May 16, 2023
221ed17
fix typo
joernu76 May 16, 2023
050e7c7
Revamp of mscolab operation menu and addition of "archive" operation
joernu76 May 16, 2023
388253e
new tests
ReimarBauer May 17, 2023
8a20938
skip
ReimarBauer May 17, 2023
5bfc804
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer May 18, 2023
377f600
Merge pull request #1793 from Open-MSS/merge_stable_to_develop
ReimarBauer May 19, 2023
600d769
MSColab authenticate/authorize restructuring (#1792)
joernu76 May 25, 2023
8563eb9
fill mswms_settings with default values. (#1794)
joernu76 May 25, 2023
b0c5a9a
preparing migration of json data to next major (#1798)
ReimarBauer May 25, 2023
8bf9125
individual imports (#1801)
ReimarBauer May 30, 2023
59ef8e7
style changes
joernu76 May 26, 2023
d7c6f4f
make starting up slightly faster
joernu76 May 25, 2023
ee2962f
enable tests for GSOC branches (#1799)
ReimarBauer May 31, 2023
04d030b
replace globals by locals (#1802)
ReimarBauer Jun 1, 2023
03750bb
fix crash when getting credentials from keyring (#1815)
matrss Jul 19, 2023
6aa8783
inputs removed (#1807)
ReimarBauer Jul 20, 2023
406c2bb
replace 'werkzeug.urls.url_join' usage with 'urllib.parse.urljoin' (#…
SergeLeon Jul 20, 2023
12a1cbb
Switch default cmap of generics to "turbo" and allow reconfiguration …
joernu76 Jul 21, 2023
7b48369
add more entities to generic plots (#1825)
joernu76 Jul 24, 2023
3ea5497
Make colorbar ticks format in generics plot configurable (#1829)
joernu76 Jul 25, 2023
0387845
introduction of group management (#1838)
ReimarBauer Jul 27, 2023
2856b1c
test of new group manager (#1844)
ReimarBauer Jul 29, 2023
aa68906
renamed endpoint for mscolab authentification (#1843)
joernu76 Jul 31, 2023
cd3598b
Merge branch 'stable' into merge_stable_into_develop
ReimarBauer Aug 1, 2023
514c823
Merge pull request #1851 from Open-MSS/merge_stable_into_develop
ReimarBauer Aug 1, 2023
ebd57aa
on rename to a Group use import_permissions (#1864)
ReimarBauer Aug 8, 2023
3a84626
warn on other needed implementations (#1865)
ReimarBauer Aug 10, 2023
cf5a76d
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer Aug 11, 2023
5cc253e
Merge pull request #1887 from Open-MSS/merge_stable_to_develop
ReimarBauer Aug 11, 2023
c5df4a8
use stable ui for development with develop server (#1891)
ReimarBauer Aug 14, 2023
3ee55cf
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer Aug 14, 2023
19e2ce8
Merge pull request #1900 from Open-MSS/merge_stable_to_develop
ReimarBauer Aug 17, 2023
d4dd808
made the auth name for mscolab configurable (#1907)
ReimarBauer Aug 19, 2023
381ee8e
Change QtCore.{Slot,Signal} to QtCore.pyqt{Slot,Signal} (#1917)
matrss Aug 21, 2023
c0253ae
fix login button problem (#1914)
joernu76 Aug 21, 2023
02bc959
img-fluid for other images used (#1909)
ReimarBauer Aug 21, 2023
abe245f
template_change (#1876)
mastersans Aug 21, 2023
9f43fd8
Use old operation name as default for new name in rename_operation_ha…
joernu76 Aug 24, 2023
add03a5
Made MSColab timeout configurable. (#1916)
joernu76 Aug 24, 2023
8840071
Ignore deprecation warnings from pkg_resources (#1930)
matrss Aug 24, 2023
0e2073e
fix: Replace load_module with exec_module (#1932)
matrss Aug 24, 2023
d62ec40
Better visibility for creator of an operation. (#1938)
joernu76 Aug 25, 2023
d64cce8
Make more efficient implementation for point-multigeometries. (#1926)
joernu76 Aug 25, 2023
a20561b
Remove usage of future (#1944)
matrss Aug 25, 2023
82ee078
Remove upper bound on flask-socketio version (#1943)
matrss Aug 25, 2023
9974ed5
catch DBusErrorResponse (#1949)
ReimarBauer Aug 25, 2023
ea28599
care on logout after invalid request (#1948)
ReimarBauer Aug 25, 2023
c69456f
Add labels and waypoints to KML export files. (#1953)
joernu76 Aug 27, 2023
f40770a
Remove redundant calls to "operations" (#1941)
joernu76 Aug 27, 2023
1327ede
Remove usage of werkzeug.urls.url_encode (#1911)
matrss Aug 28, 2023
d1c652b
Replace matplotlib grid parameter 'b' with 'visible' (#1956)
matrss Aug 29, 2023
d9f2abc
enable flake8 for gsoc branches (#1975)
ReimarBauer Aug 31, 2023
1530a29
Some tidying up of handling imports in MSCOlab (#1962)
joernu76 Aug 31, 2023
9a49908
show transport layer in UI (#1963)
ReimarBauer Aug 31, 2023
bf8d331
Properly project points in KML files before drawing (#1978)
joernu76 Sep 1, 2023
5097eec
logging functionality to socketio added and configured testing for cr…
ReimarBauer Sep 1, 2023
abef5ea
use category for selection (#1988)
ReimarBauer Sep 3, 2023
56e9528
introduces a config var to skip archived operations on the server (#1…
ReimarBauer Sep 3, 2023
c177113
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer Sep 4, 2023
38cb1f0
Fix messagebox warnings (#1967)
matrss Sep 6, 2023
c9f2ffc
enable boa build and doc (#2002)
ReimarBauer Sep 6, 2023
cf3053f
Merge pull request #1995 from Open-MSS/merge_stable_to_develop
ReimarBauer Sep 6, 2023
1db1f27
Fix botched merge from 14 Aug 23 in mscolab.py (#2012)
joernu76 Sep 7, 2023
6d8754c
Properly fix legend issue in develop. (#2009)
joernu76 Sep 7, 2023
c0e8b8b
Added Return as shortcut to connect/login buttons. (#1939)
joernu76 Sep 7, 2023
8919575
improved io import tests (#2014)
ReimarBauer Sep 8, 2023
652ca43
Fix focus-stealing (#2021)
joernu76 Sep 8, 2023
0d8750b
Remove "Oh no" from remaining status messages. (#2029)
joernu76 Sep 8, 2023
d6aeec8
Downgrade errors to warnings to not clog test-logs (#2030)
joernu76 Sep 8, 2023
3be1bdc
topview should not using parent of mainwindow (#2038)
ReimarBauer Sep 24, 2023
afc9e27
moved user db stuff to file_manager (#2046)
ReimarBauer Sep 28, 2023
f0a6659
moved server request for last_used to the file_manager (#2041)
ReimarBauer Sep 28, 2023
97a5baa
moved db initialization (#2049)
ReimarBauer Sep 29, 2023
92514ab
show urls and files when they exists (#2053)
ReimarBauer Oct 8, 2023
4ee280f
Merge branch 'stable' into develop
ReimarBauer Oct 8, 2023
bd1b543
refactored ToDos of MSColab server code (#2051)
ReimarBauer Oct 8, 2023
66a7dcb
keep stable change to werkzeug
ReimarBauer Oct 8, 2023
f72546b
Merge pull request #2059 from Open-MSS/merge_stable_to_develop_new
ReimarBauer Oct 12, 2023
f6b3ad1
merge of Gsoc2023 nilupul manodya (#2069)
ReimarBauer Nov 7, 2023
d19dde1
Replace SIGKILL with SIGTERM (#2075)
matrss Nov 8, 2023
3435c92
correct file name sample (#2089)
nilupulmanodya Nov 13, 2023
c089c55
set XMLSEC_PATH based on env (#2091)
nilupulmanodya Nov 13, 2023
d297a00
refactor print to logging (#2092)
nilupulmanodya Nov 14, 2023
be3e513
feature prepared for py311 (#1923)
ReimarBauer Nov 14, 2023
83b3985
move hardcoded path to os.path.join (#2090)
nilupulmanodya Nov 14, 2023
e8977a0
Update actions used in the workflows (#2098)
matrss Nov 15, 2023
225bc07
add missing newline after last line (#2096)
nilupulmanodya Nov 15, 2023
6d3c694
improve clarity VERIFY_SSL_CERT config option (#2094)
nilupulmanodya Nov 18, 2023
2f88552
fix: conftest_flake8 (#2102)
mastersans Nov 18, 2023
1431027
refactoring of tutorials, automated image creation for comparison (#…
ReimarBauer Nov 20, 2023
fc2f3c6
refactor wait until process signals instead pf sleep (#2099)
nilupulmanodya Nov 24, 2023
eaee252
move server.py db parts to file_manager.py (#2106)
nilupulmanodya Nov 30, 2023
5927cba
Review by pycharm and small refactoring (#2110)
ReimarBauer Dec 6, 2023
9084444
Refactor tutorials (#2105)
ReimarBauer Dec 6, 2023
80012e7
remove unnecssary lines from gitignore (#2095)
nilupulmanodya Dec 6, 2023
159185e
Fixed Inappropriate Logical Expression (#2113)
fazledyn-or Dec 8, 2023
788d107
Mambaforge (Discouraged as of September 2023) (#2115)
ReimarBauer Dec 12, 2023
178c3cb
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer Jan 5, 2024
9adf60d
Merge pull request #2131 from Open-MSS/merge_stable_to_develop
ReimarBauer Jan 5, 2024
c1f6e86
Fixed typo changed gpdr to gdpr (#2139)
Beeram12 Jan 10, 2024
1e98de5
Reset config directory before each test (#2136)
matrss Jan 10, 2024
1202306
Remove unnecessary parentheses and inheritance from object (#2138)
matrss Jan 10, 2024
567c286
Fix collisions with builtins (#2144)
matrss Jan 10, 2024
cff4e63
Add per-operation locks to FileManager (#2147)
matrss Jan 11, 2024
9fac1b3
Refactor Qt related tests to use pytest-qt (#2146)
matrss Jan 11, 2024
889fda8
gives the server control over the clients login options (#2118)
ReimarBauer Jan 16, 2024
52cea9f
Refactor servers into fixtures (#2149)
matrss Jan 16, 2024
9a14961
Remove wrong config file modification (#2152)
matrss Jan 16, 2024
68b77bd
using an IDP, email is already validated, we activate the profile (#2…
ReimarBauer Jan 16, 2024
fd2e1a5
refactor: Renamed USE_SAML2 to use_saml2 (#2155)
Beeram12 Jan 20, 2024
bcd7193
Remove unnecessary development dependencies (#2140)
matrss Jan 20, 2024
2d22420
Fix: ci issues and cherry-pick from stable branch. (#2163)
rohit2p Jan 24, 2024
f3b6b50
Remove test retries in CI (#2153)
matrss Jan 29, 2024
95a152d
Simplify mslib.utils.qt.Worker mock (#2167)
matrss Jan 29, 2024
dba5fc4
Fix ConversionError with pint=0.23 (#2168)
matrss Jan 29, 2024
d5f142b
Consolidate skips due to start method "fork" (#2166)
matrss Jan 29, 2024
6bf94d3
Remove unnecessary config settings (#2171)
matrss Feb 5, 2024
c48d925
Merge branch 'stable' into merge_stable_to_develop_2024
ReimarBauer Feb 8, 2024
5a3114c
flake8
ReimarBauer Feb 8, 2024
5981c6e
Merge pull request #2185 from Open-MSS/merge_stable_to_develop_2024
ReimarBauer Feb 8, 2024
0a04998
Fix : UTC based timezone (#2177)
Preetam-Das26 Feb 8, 2024
3a0eb96
Remove the serial test suite execution from CI (#2158)
matrss Feb 12, 2024
baa099e
Fix: Scheduled test now triggers testing-stable.yml using workflow_di…
rohit2p Feb 15, 2024
167af85
Remove unnecessary mocking (#2169)
matrss Feb 15, 2024
1089e36
Removed redundant truthy line (#2203)
workaryangupta Feb 16, 2024
c73d9ba
Remove pytest option to pass msui settings (#2170)
matrss Feb 16, 2024
579e577
Remove unnecessary skips (#2165)
matrss Feb 16, 2024
1052476
enable newer fastkml versions (#2215)
ReimarBauer Feb 16, 2024
868cd27
any member of an operation should see who created the operation (#2216)
ReimarBauer Feb 16, 2024
4e54830
separate urls and menu to server parts (#2211)
ReimarBauer Feb 16, 2024
6df4172
catch exception when USE_SAML2 is True but configuration not complete…
ReimarBauer Feb 16, 2024
6dc1cb8
Fix: Refined QMessageBox mocking (#2220)
rohit2p Feb 20, 2024
d4d7722
Enable dependabot updates for GitHub Actions (#2223)
matrss Feb 20, 2024
389a095
Return aware datetime objects (#2209)
Preetam-Das26 Feb 20, 2024
d52483c
Bump actions/setup-python from 4 to 5 (#2224)
dependabot[bot] Feb 20, 2024
c439a5f
Hardcoded img conventionf or route (#2218)
workaryangupta Feb 21, 2024
24fb706
Do not use datetime.datetime.utcnow() (#2225)
Preetam-Das26 Feb 22, 2024
f5008ff
Updated urls in document `NOTICE` (#2228)
Myrausman Feb 23, 2024
09758d0
Fix typo for flight level coordinate in netCDF4tools.py (#2235)
gisi90 Feb 23, 2024
5ef7bf8
Refactor: Implement consistent usage of mscolab_settings.ARCHIVE_THRE…
workaryangupta Feb 23, 2024
6c762b3
Remove all occurrences of processEvents in tests/ (#2237)
matrss Feb 26, 2024
73fd51d
Remove all occurrences of qWait in tests/ (#2246)
matrss Feb 26, 2024
b8a200d
refactor : Used urljoin instead of string concatenation (#2240)
Myrausman Feb 26, 2024
d4e8d6b
removed section `Setup msui_settings.json for special tests` (#2252)
Myrausman Feb 27, 2024
3f1851e
Use of Aware datetime objects (#2239)
Preetam-Das26 Feb 28, 2024
f503435
Fix some race conditions (#2255)
matrss Feb 28, 2024
138390f
Simplify GitHub Actions workflows (#2173)
matrss Feb 29, 2024
8e7c164
mscolab app does not need a static location from the gallery_builder …
ReimarBauer Mar 1, 2024
0f59883
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer Mar 1, 2024
6587ece
Replace: occurrences of tests.utils.wait_until_signal with qtbot.wait…
rohit2p Mar 1, 2024
cc4dcca
Merge pull request #2260 from Open-MSS/merge_stable_to_develop
ReimarBauer Mar 1, 2024
ec1f2a1
fix: typo (#2264)
nilupulmanodya Mar 3, 2024
4312839
refactor test (#2268)
Myrausman Mar 6, 2024
1d0a5ad
Coverage for all branches and PRs in Coveralls (#2272)
Preetam-Das26 Mar 11, 2024
243fabe
Add new tests for mscolab.model (#2266)
Preetam-Das26 Mar 13, 2024
416b4e8
fix: Resolve warning of TypeDecorator AwareDateTime() in `chat_manage…
Myrausman Mar 15, 2024
de7d336
refactor: Replace pytz usage with zoneinfo module (#2280)
Myrausman Mar 18, 2024
6950e26
xmlsec1 problems with windows (#2222)
ReimarBauer Mar 20, 2024
daf8f2a
Test on macOS 13 and 14 (#2249)
matrss Mar 21, 2024
af73526
cycle login with multiple_flightpath_dockwidget (#2278)
ReimarBauer Mar 21, 2024
e50e258
Fix docker image creation from develop branch (#2296)
matrss Mar 26, 2024
70ce65f
Updated the dummy email addresses used in the seed module to follow a…
workaryangupta Mar 27, 2024
2fc32cb
msidp : Update Docs, user settings and warn msgs (#2289)
nilupulmanodya Mar 27, 2024
30bd36a
Run the test suite in a random order (#2287)
matrss Mar 27, 2024
4dc3d67
removed-unique-pass-constraint (#2303)
workaryangupta Mar 27, 2024
68ac232
Fix user registration validation to ensure valid data before creating…
workaryangupta Mar 27, 2024
6fc2977
Fix flake8 error (#2317)
joernu76 Apr 11, 2024
ba18d01
fix logout problem with multipe flightpath (#2319)
ReimarBauer Apr 15, 2024
e71d9f3
fix DateTime elements have seconds precision, optimized for fractions…
ReimarBauer Apr 15, 2024
2ef6f5e
Partially fix non-deterministic coverage (#2318)
matrss Apr 18, 2024
4c2725b
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer Apr 20, 2024
30596e2
Merge pull request #2332 from Open-MSS/merge_stable_to_develop
ReimarBauer Apr 23, 2024
3e0f74c
Remove redundant testing_gsoc.yml workflow (#2333)
matrss Apr 23, 2024
afa3061
active_op_id needs to be shared (#2326)
ReimarBauer May 6, 2024
3ed347b
fix: missing y2024 (#2342)
ReimarBauer May 7, 2024
0b58ffa
merge stable to develop
ReimarBauer May 8, 2024
037ba61
Merge pull request #2344 from Open-MSS/merge_stable_to_develop
ReimarBauer May 13, 2024
0b6d7c1
Merge branch 'stable' into merge_stable_to_develop
ReimarBauer May 13, 2024
bc9b5c5
Merge pull request #2351 from Open-MSS/merge_stable_to_develop
ReimarBauer May 14, 2024
b0032d2
improved menuinst (#2281)
ReimarBauer May 14, 2024
48a15f5
Use isoformat for mscolab timestamps (#2345)
ReimarBauer May 14, 2024
531cb75
Remove weird class override (#2354)
matrss May 14, 2024
523c40d
Use find_namespace_packages (#2357)
matrss May 16, 2024
c49ff5a
Enable updates for GitHub Actions on stable (#2352)
matrss May 16, 2024
8121109
Verify the dict representation of a message has an isoformatted times…
ReimarBauer May 16, 2024
d1b70b2
Bump benc-uk/workflow-dispatch from 1.2.2 to 1.2.3 (#2282)
dependabot[bot] May 16, 2024
c265c0b
Replace YAML anchor and alias with duplication (#2361)
matrss May 16, 2024
027cff4
Fix leftover directories after tests (#2360)
matrss May 16, 2024
c551117
merge stable to develop
ReimarBauer May 17, 2024
55f52ba
Merge pull request #2367 from Open-MSS/merge_stable_to_develop
ReimarBauer May 19, 2024
8720d84
Tutorials for the next release (#2373)
ReimarBauer May 20, 2024
bef9add
back to the future (#2379)
ReimarBauer May 21, 2024
657cb37
sphinxcontrib-video added (#2380)
ReimarBauer May 21, 2024
8aad71e
removed reference to nonexisting document (#2377)
ReimarBauer May 21, 2024
816954e
prepare v9.0.0 (#2381)
ReimarBauer May 21, 2024
6b02cd6
keep stable dependencies for tests
ReimarBauer May 21, 2024
764a1f5
Revert "keep stable dependencies for tests"
ReimarBauer May 21, 2024
62f1245
remove pyvirtualdisplay step
ReimarBauer May 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
target-branch: stable
39 changes: 39 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
**Purpose of PR?**:

Fixes #

**Does this PR introduce a breaking change?**

**If the changes in this PR are manually verified, list down the scenarios covered:**:

**Additional information for reviewer?** :
_Mention if this PR is part of any design or a continuation of previous PRs_

**Does this PR results in some Documentation changes?**
_If yes, include the list of Documentation changes_

**Checklist:**
- [ ] Bug fix. Fixes #<issue number>
- [ ] New feature (Non-API breaking changes that adds functionality)
- [ ] PR Title follows the convention of `<type>: <subject>`
- [ ] Commit has unit tests

<!--

The PR title message must follow convention:
`<type>: <subject>`.

Where: <br />
- `type` is to define what type of PR is this.
Most common types are:
- `feat` - for new features, not a new feature for build script
- `fix` - for bug fixes or improvements, not a fix for build script
- `chore` - changes not related to production code
- `docs` - changes related to documentation
- `style` - formatting, missing semi colons, linting fix etc; no significant production code changes
- `test` - adding missing tests, refactoring tests; no production code change
- `refactor` - refactoring production code, eg. renaming a variable or function name, there should not be any significant production code changes

- `subject` is a single line brief description of the changes made in the pull request.

-->
28 changes: 28 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a bug report to help us improve
title: ''
labels: bug
assignees: ''

---

## Bug Report


**General Information**

Please describe your issue in few words here.

**How to Reproduce**

1. Instruction 1
2. Instruction 2

**Expected behavior**

A description of what you expected to happen.

**Screenshots**

If applicable, add screenshots to help explain your problem.
26 changes: 26 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Feature request/Enhancement
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

## Feature Request

**Short Description**

E.g., MSS could support ensuring that cows don't take over the world and turn us all into their loyal milkmaids.

**Is your feature request related to a problem? Please describe the use case.**

A description of what the problem/use case is. E.g. Prevent the impending cow uprising and maintain human dominance on Earth.

**Describe the solution you'd like**

A description of what you want to happen. E.g., Develop a "Moofense" system that deploys an army of robotic cow herders to keep the bovine rebellion in check.

**Describe alternatives you've considered**

A description of any alternative solutions or features you've considered. E.g, Alternatively, we could offer the cows a reality TV show deal and distract them with celebrity pasture appearances, turning them into the world's first moo-dia stars.
23 changes: 3 additions & 20 deletions .github/workflows/build_docs_gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,19 @@ name: Build Gallery

on:
pull_request:
inputs:
branch_name:
required: true
type: string
secrets:
PAT:
required: true

env:
PAT: ${{ secrets.PAT }}

jobs:
Test-MSS-docs:
runs-on: ubuntu-latest

defaults:
run:
shell: bash

container:
image: openmss/testing-develop

steps:
- name: Trust My Directory
run: git config --global --add safe.directory /__w/MSS/MSS
- uses: actions/checkout@v4

- name: Create gallery
timeout-minutes: 25
timeout-minutes: 5
run: |
source /opt/conda/bin/activate mssenv \
&& cd $GITHUB_WORKSPACE/docs \
&& python conf.py
cd docs
mamba run --no-capture-output -n mssenv python conf.py
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,27 @@ on:
branches:
- develop
- stable
- 'GSOC**'
pull_request:
branches:
- develop
- stable
- 'GSOC**'

jobs:
flake8:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"
- name: Lint with flake8
run: |
python -m pip install --upgrade pip
pip install flake8
pip install flake8 flake8-builtins
flake8 --count --statistics mslib tests

no-crlf-in-git:
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/testing-all-oses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Test MSS

on:
push:
branches:
- develop
- stable
- 'GSOC**'
pull_request:
branches:
- develop
- stable
- 'GSOC**'

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["macos-13", "macos-14", "ubuntu-latest"]
steps:
- uses: actions/checkout@v4
- name: Build requirements.txt file
run: |
sed -n '/^requirements:/,/^test:/p' localbuild/meta.yaml |
sed -e "s/.*- //" |
sed -e "s/menuinst.*//" |
sed -e "s/.*://" > requirements.tmp.txt
cat requirements.d/development.txt >> requirements.tmp.txt
echo "pytest-randomly" >> requirements.tmp.txt
sed -e '/^$/d' -e '/^#.*$/d' requirements.tmp.txt > requirements.txt
rm requirements.tmp.txt
cat requirements.txt
- name: Get current year and calendar week
id: year-and-week
run: echo "year-and-week=$(date +%Y-%V)" >> "$GITHUB_OUTPUT"
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: requirements.txt
environment-name: ci
cache-environment: true
# Set the cache key in a way that the cache is invalidated every week on monday
cache-environment-key: environment-${{ steps.year-and-week.outputs.year-and-week }}
- name: Run tests
timeout-minutes: 20
# The ignored files can somehow cause the test suite to timeout.
# I have no idea yet on why this happens and how to fix it.
# Even a module level skip is not enough, they need to be completely ignored.
# TODO: fix those tests and drop the ignores
run: micromamba run -n ci env QT_QPA_PLATFORM=offscreen pytest -v -n logical --durations=20 --cov=mslib
--ignore=tests/_test_msui/test_sideview.py --ignore=tests/_test_msui/test_topview.py --ignore=tests/_test_msui/test_wms_control.py
tests
16 changes: 2 additions & 14 deletions .github/workflows/testing-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,16 @@ on:
push:
branches:
- develop

pull_request:
branches:
- develop
workflow_dispatch:

jobs:
test-develop:
uses:
./.github/workflows/testing.yml
with:
xdist: no
branch_name: develop
event_name: ${{ github.event_name }}
secrets:
PAT: ${{ secrets.PAT }}

test-develop-xdist:
uses:
./.github/workflows/testing.yml
with:
xdist: yes
branch_name: develop
event_name: ${{ github.event_name }}
image_suffix: develop
secrets:
PAT: ${{ secrets.PAT }}
16 changes: 16 additions & 0 deletions .github/workflows/testing-gsoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: test GSoC

on:
push:
branches:
- 'GSOC**'
pull_request:
branches:
- 'GSOC**'

jobs:
test-gsoc:
uses:
./.github/workflows/testing.yml
with:
image_suffix: develop
37 changes: 18 additions & 19 deletions .github/workflows/testing-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ on:
schedule:
- cron: '30 5 * * 1'


jobs:
test-stable-scheduled:
uses:
./.github/workflows/testing.yml
with:
xdist: no
branch_name: stable
event_name: ${{ github.event_name }}
secrets:
PAT: ${{ secrets.PAT }}
trigger-testing-stable:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: benc-uk/[email protected]
with:
workflow: testing-stable.yml
ref: stable

test-develop-scheduled:
uses:
./.github/workflows/testing.yml
with:
xdist: no
branch_name: develop
event_name: ${{ github.event_name }}
secrets:
PAT: ${{ secrets.PAT }}
trigger-testing-develop:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: benc-uk/[email protected]
with:
workflow: testing-develop.yml
ref: develop
14 changes: 1 addition & 13 deletions .github/workflows/testing-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@ jobs:
uses:
./.github/workflows/testing.yml
with:
xdist: no
branch_name: stable
event_name: ${{ github.event_name }}
secrets:
PAT: ${{ secrets.PAT }}

test-stable-xdist:
uses:
./.github/workflows/testing.yml
with:
xdist: yes
branch_name: stable
event_name: ${{ github.event_name }}
image_suffix: stable
secrets:
PAT: ${{ secrets.PAT }}
Loading