Skip to content

Commit 842d063

Browse files
committed
Merge branch 'main' of github.com:daisybio/drevalpy
2 parents 76d1e9c + 3618669 commit 842d063

File tree

105 files changed

+11137
-7202
lines changed

Some content is hidden

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

105 files changed

+11137
-7202
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.github/workflows/build_package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222

2323
- name: Install Poetry
2424
run: |
25-
pip install poetry
25+
pipx install poetry
26+
pipx inject poetry poetry-plugin-export
2627
poetry --version
2728
2829
- name: Build package

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
uses: actions/checkout@v4
1414

1515
- name: Run Labeler
16-
uses: crazy-max/ghaction-github-labeler@v5.1.0
16+
uses: crazy-max/ghaction-github-labeler@v5.3.0
1717
with:
1818
skip-delete: true

.github/workflows/publish-docker.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Create and publish a Docker image
22

33
# Configures this workflow to run every time a release is published
44
on:
5-
push:
6-
branches:
7-
- main
85
release:
96
types: [published]
107

.github/workflows/publish_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.11"
16+
python-version: "3.13"
1717

1818
- name: Install pip
1919
run: |

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.11", "3.12"]
18+
python-version: ["3.11", "3.12", "3.13"]
1919

2020
steps:
2121
- name: Check out the repository

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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@67339c736fd9354cd4f8cb0b744f2b82a74b5c70
35+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
3636
with:
3737
user: __token__
3838
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/run_tests.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- { python-version: "3.11", os: ubuntu-latest, session: "pre-commit" }
20-
- { python-version: "3.11", os: ubuntu-latest, session: "safety" }
21-
- { python-version: "3.11", os: ubuntu-latest, session: "mypy" }
22-
- { python-version: "3.11", os: ubuntu-latest, session: "tests" }
23-
- { python-version: "3.11", os: windows-latest, session: "tests" }
24-
- { python-version: "3.11", os: ubuntu-latest, session: "typeguard" }
25-
- { python-version: "3.11", os: ubuntu-latest, session: "xdoctest" }
26-
- { python-version: "3.11", os: ubuntu-latest, session: "docs-build" }
19+
- { python-version: "3.12", os: ubuntu-latest, session: "pre-commit" }
20+
- { python-version: "3.12", os: ubuntu-latest, session: "mypy" }
21+
- { python-version: "3.12", os: ubuntu-latest, session: "tests" }
22+
- { python-version: "3.12", os: windows-latest, session: "typeguard" }
23+
- { python-version: "3.12", os: ubuntu-latest, session: "xdoctest" }
24+
- { python-version: "3.12", os: ubuntu-latest, session: "docs-build" }
2725

2826
env:
2927
NOXSESSION: ${{ matrix.session }}
@@ -66,7 +64,7 @@ jobs:
6664
print("::set-output name=result::{}".format(result))
6765
6866
- name: Restore pre-commit cache
69-
uses: actions/[email protected].0
67+
uses: actions/[email protected].3
7068
if: matrix.session == 'pre-commit'
7169
with:
7270
path: ~/.cache/pre-commit
@@ -99,10 +97,10 @@ jobs:
9997
- name: Check out the repository
10098
uses: actions/checkout@v4
10199

102-
- name: Set up Python 3.11
100+
- name: Set up Python 3.12
103101
uses: actions/setup-python@v5
104102
with:
105-
python-version: 3.11
103+
python-version: 3.12
106104

107105
- name: Install Poetry
108106
run: |
@@ -129,6 +127,6 @@ jobs:
129127
run: nox --force-color --session=coverage -- xml -i
130128

131129
- name: Upload coverage report
132-
uses: codecov/codecov-action@v5.1.1
130+
uses: codecov/codecov-action@v5.4.3
133131
with:
134132
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/safety_scan.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Safety Action
2+
3+
on:
4+
push: # Run on every push to any branch
5+
pull_request: # Run on new pull requests
6+
7+
jobs:
8+
security:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@main
12+
- name: Run Safety CLI to check for vulnerabilities
13+
uses: pyupio/safety-action@v1
14+
with:
15+
api-key: ${{ secrets.SAFETY_API_KEY }}

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ data/mapping
55
data/GDSC1
66
data/GDSC2
77
data/CCLE
8-
data/Toy_Data
8+
data/TOYv1
9+
data/TOYv2
10+
data/CTRPv1
11+
data/CTRPv2
912

1013
# Byte-compiled / optimized / DLL files
1114
__pycache__/

0 commit comments

Comments
 (0)