Skip to content

Commit 6115817

Browse files
Merge pull request #264 from daisybio/development
v1.4.0
2 parents dfd351f + bfca4ff commit 6115817

Some content is hidden

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

57 files changed

+8217
-2841
lines changed

.github/labels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@
6767
- name: skip-changelog
6868
description: Changes that should be omitted from the release notes
6969
color: "#ededed"
70+
- name: DEPENDABOT
71+
description: Pull requests created by Dependabot
72+
color: "#ff00b3"

.github/workflows/build_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
python: ["3.11", "3.12", "3.13"]
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616
name: Check out source-code repository
1717

1818
- name: Setup Python
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: ${{ matrix.python }}
2222

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out the repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414

1515
- name: Run Labeler
1616
uses: crazy-max/[email protected]

.github/workflows/publish-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
# Necessary for buildx
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030

3131
- name: Setup QEMU
3232
uses: docker/setup-qemu-action@v3

.github/workflows/publish_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@v5
1111
name: Check out source-code repository
1212

1313
- name: Setup Python
14-
uses: actions/setup-python@v5
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version: "3.13"
1717

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Check out the repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323

2424
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@v6
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

.github/workflows/python-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
- name: Set up Python
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@v6
2626
with:
2727
python-version: "3.x"
2828
- name: Install dependencies
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build package
3333
run: python -m build
3434
- name: Publish package
35-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
35+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
3636
with:
3737
user: __token__
3838
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/run_tests.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: ${{ matrix.session }} ${{ matrix.python-version }} / ${{ matrix.os }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
16-
fail-fast: false
16+
fail-fast: true
1717
matrix:
1818
include:
1919
- { python-version: "3.13", os: ubuntu-latest, session: "pre-commit" }
@@ -28,10 +28,10 @@ jobs:
2828

2929
steps:
3030
- name: Check out the repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3232

3333
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v5
34+
uses: actions/setup-python@v6
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737

@@ -64,7 +64,7 @@ jobs:
6464
print("::set-output name=result::{}".format(result))
6565
6666
- name: Restore pre-commit cache
67-
uses: actions/cache@v4.2.3
67+
uses: actions/cache@v4.3.0
6868
if: matrix.session == 'pre-commit'
6969
with:
7070
path: ~/.cache/pre-commit
@@ -73,19 +73,20 @@ jobs:
7373
${{ steps.pre-commit-cache.outputs.result }}-
7474
7575
- name: Run Nox
76-
run: nox --force-color --python=${{ matrix.python-version }}
76+
run: |
77+
nox --force-color --python=${{ matrix.python-version }}
7778
7879
- name: Upload coverage data
7980
if: always() && matrix.session == 'tests' && matrix.os == 'ubuntu-latest'
80-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v5
8182
with:
8283
name: coverage-data
8384
path: ".coverage.*"
8485
include-hidden-files: "true"
8586

8687
- name: Upload documentation
8788
if: matrix.session == 'docs-build'
88-
uses: actions/upload-artifact@v4
89+
uses: actions/upload-artifact@v5
8990
with:
9091
name: docs
9192
path: docs/_build
@@ -95,12 +96,12 @@ jobs:
9596
needs: tests
9697
steps:
9798
- name: Check out the repository
98-
uses: actions/checkout@v4
99+
uses: actions/checkout@v5
99100

100-
- name: Set up Python 3.12
101-
uses: actions/setup-python@v5
101+
- name: Set up Python 3.13
102+
uses: actions/setup-python@v6
102103
with:
103-
python-version: 3.12
104+
python-version: 3.13
104105

105106
- name: Install Poetry
106107
run: |
@@ -116,7 +117,7 @@ jobs:
116117
nox --version
117118
118119
- name: Download coverage data
119-
uses: actions/download-artifact@v4
120+
uses: actions/download-artifact@v5
120121
with:
121122
name: coverage-data
122123

@@ -127,6 +128,6 @@ jobs:
127128
run: nox --force-color --session=coverage -- xml -i
128129

129130
- name: Upload coverage report
130-
uses: codecov/codecov-action@v5.4.3
131+
uses: codecov/codecov-action@v5.5.1
131132
with:
132133
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/safety_scan.yml

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ data/TOYv1
99
data/TOYv2
1010
data/CTRPv1
1111
data/CTRPv2
12+
data/meta
1213

1314
# Byte-compiled / optimized / DLL files
1415
__pycache__/
@@ -171,3 +172,4 @@ cython_debug/
171172
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
172173
#.idea/
173174
/data/GDSC/
175+
.Rproj.user

0 commit comments

Comments
 (0)