Skip to content

Commit 510eb87

Browse files
authored
Merge pull request #870 from ScilifelabDataCentre/dev
New release: 2.14.0
2 parents 7b99557 + 4792d2e commit 510eb87

90 files changed

Lines changed: 1090 additions & 6484 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/codeql-cli.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
# Initializes the CodeQL tools for scanning.
5757
- name: Initialize CodeQL
58-
uses: github/codeql-action/init@v2
58+
uses: github/codeql-action/init@v4
5959
with:
6060
languages: ${{ matrix.language }}
6161
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -66,7 +66,7 @@ jobs:
6666
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6767
# If this step fails, then you should remove it and run the build manually (see below)
6868
- name: Autobuild
69-
uses: github/codeql-action/autobuild@v2
69+
uses: github/codeql-action/autobuild@v4
7070

7171
# ℹ️ Command-line programs to run using the OS shell.
7272
# 📚 https://git.io/JvXDl
@@ -80,4 +80,4 @@ jobs:
8080
# make release
8181

8282
- name: Perform CodeQL Analysis
83-
uses: github/codeql-action/analyze@v2
83+
uses: github/codeql-action/analyze@v4

.github/workflows/gui-executable.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

.github/workflows/lint-pylint.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11"]
15+
# If new Python versions are added, update pylint accordingly
16+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1617
steps:
1718
- uses: actions/checkout@v3
1819
- name: Set up Python ${{ matrix.python-version }}
@@ -23,7 +24,11 @@ jobs:
2324
run: |
2425
python -m pip install --upgrade pip
2526
pip install -r requirements.txt
26-
pip install pylint==2.17.3
27+
pip install setuptools wheel
28+
pip install pylint==3.3.0
2729
- name: Analysing the code with pylint
30+
# Disable rule that limits to 5 the number of positional arguments
2831
run: |
29-
pylint --rcfile=.pylintrc $(git ls-files '*.py')
32+
pylint --rcfile=.pylintrc \
33+
--disable=too-many-positional-arguments \
34+
-- $(git ls-files '*.py')

.github/workflows/pytest-cli.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
files: ./coverage/report.xml
4747

4848
build-on-windows:
49-
runs-on: windows-latest
49+
runs-on: windows-2022
5050

5151
steps:
5252
- uses: actions/checkout@v3
@@ -65,6 +65,7 @@ jobs:
6565
SET COVERAGE_FILE=./coverage/.coverage
6666
pytest --color=yes --cov=./dds_cli --cov-report=xml:coverage/report-windows.xml
6767
68-
- uses: codecov/codecov-action@v2
68+
- uses: codecov/codecov-action@v5
6969
with:
70+
token: ${{ secrets.CODECOV_TOKEN }}
7071
files: ./coverage/report-windows.xml

.github/workflows/release-cli.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ jobs:
100100
ASSET_MIME: application/x-elf
101101
steps:
102102
- uses: actions/checkout@v4
103-
- name: Python 3.9 setup
103+
- name: Python 3.12 setup
104104
uses: actions/setup-python@v4
105105
with:
106-
python-version: 3.9
106+
python-version: 3.12
107107
# architecture: 'x64'
108108
- name: Install dependencies
109109
run: |
@@ -146,7 +146,12 @@ jobs:
146146
uses: matthiaszepper/sphinx-action-v4@pdflatex
147147
with:
148148
container: pdflatex
149-
pre-build-command: "apt-get update && apt-get install -y librsvg2-bin && apt-get -y install build-essential"
149+
pre-build-command: |
150+
apt-get update && \
151+
apt-get install -y librsvg2-bin && \
152+
apt-get -y install build-essential && \
153+
apt-get install -y fonts-noto-color-emoji && \
154+
apt-get install -y texlive-luatex
150155
build-command: "make latexpdf"
151156
docs-folder: "docs/"
152157
- name: Create an artifact of the previously built HTML

.github/workflows/rich-codex-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- name: Check out the repo
1414
uses: actions/checkout@v3
1515

16-
- name: Set up Python 3.10
16+
- name: Set up Python 3.12
1717
uses: actions/setup-python@v2
1818
with:
19-
python-version: 3.10.8
19+
python-version: 3.12
2020

2121
- name: Install python dependencies
2222
run: |

.github/workflows/snyk-scan-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
command: code test
4343
args: --sarif-file-output=snyk.sarif
4444
- name: Upload result to GitHub Code Scanning
45-
uses: github/codeql-action/upload-sarif@v2
45+
uses: github/codeql-action/upload-sarif@v4
4646
with:
4747
sarif_file: snyk.sarif
4848
category: snyk

.github/workflows/test-pypi-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- uses: actions/checkout@v3
1717
name: Check out source-code repository
1818

19-
- name: Set up Python 3.9
19+
- name: Set up Python 3.12
2020
uses: actions/setup-python@v1
2121
with:
22-
python-version: 3.9
22+
python-version: 3.12
2323

2424
- name: Install python dependencies
2525
run: |

.github/workflows/trivy-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
severity: "CRITICAL,HIGH"
3434

3535
- name: Upload Trivy scan results to GitHub Security tab
36-
uses: github/codeql-action/upload-sarif@v2
36+
uses: github/codeql-action/upload-sarif@v4
3737
with:
3838
sarif_file: "trivy-results.sarif"

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,3 @@ timings
4848
.DS_Store
4949
*test-venv*
5050
test-directory*
51-
gui_build/dist
52-
gui_build/build
53-
gui_build/dds_gui_standalone.spec
54-
gui_build/dds_gui_standalone.spec.py
55-
gui_build/dds_gui_standalone.spec.pyc

0 commit comments

Comments
 (0)