Skip to content

Commit

Permalink
Updated actions using the latest base images and to run using Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiara Rasi committed Nov 21, 2024
1 parent bdf28bc commit 7d332d0
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
- name: install black
run: |
pip install black==22.3.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dockerhub_stage_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v7
uses: tj-actions/branch-names@v8

- name: Login to Docker Hub
uses: docker/login-action@v3
Expand All @@ -29,7 +29,7 @@ jobs:

- name: Build and push
if: steps.branch-name.outputs.is_default == 'false'
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ./
file: ./Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/keep_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: 'CHANGELOG.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@master
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
- name: install flake8
run: |
pip install flake8
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_n_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8' ]
python-version: [ '3.9' ]
steps:
- uses: actions/checkout@v4
- name: Install poetry
Expand All @@ -18,7 +18,7 @@ jobs:
rm install-poetry.py
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
Expand All @@ -37,7 +37,7 @@ jobs:
run: poetry run pytest --cov=./ --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
flags: unittests
files: ./coverage.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vulture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

- name: Find changed Python files
id: files
uses: Ana06/get-changed-files@v2.0.0
uses: Ana06/get-changed-files@v2
with:
filter: "*.py"

- name: Scavenge
uses: anaynayak/python-vulture-action@v1.0
uses: anaynayak/python-vulture-action@v1
id: vulture
with:
vulture-args: --min-confidence 80 ${{steps.files.outputs.all}}
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Updated API submission schema to the latest available on `ncbi/clinvar` GitHub pages
- Modified the json submission example to use one from the ClinVar GitHib repo (`sample_clinical_significance_hgvs_submission.json`)
- Removed the example of an old json submission (before 2022-11-21)
- Updated actions using the latest base images and to run using Python 3.9
### Fixed
- Updated issue templates
- Updated a number of libraries to address all current security advisories
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The server will be running and accepting requests sent from outside the containe

## Installing the application on a local conda environment

Given a conda environment sontaining python 3.8 and [poetry](https://github.com/python-poetry/poetry), clone the repository from Github with the following command:
Given a conda environment containing Python 3.9 and [poetry](https://github.com/python-poetry/poetry), clone the repository from Github with the following command:

```
git clone https://github.com/Clinical-Genomics/preClinVar.git
Expand Down

0 comments on commit 7d332d0

Please sign in to comment.