Skip to content

Commit 9fcce02

Browse files
yml updated
1 parent 9eb8d5c commit 9fcce02

7 files changed

Lines changed: 48 additions & 23 deletions

File tree

.github/workflows/build_preprint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Build Preprint PDF
1010
steps:
1111
- name: Checkout repository
12-
uses: actions/checkout@v4.1.7
12+
uses: actions/checkout@v7
1313

1414
- name: Install apt packages
1515
run: |
@@ -136,7 +136,7 @@ jobs:
136136
rm paper_cleaned.md
137137
138138
- name: Upload Artifact
139-
uses: actions/upload-artifact@v4.3.4
139+
uses: actions/upload-artifact@v7
140140
with:
141141
name: professional-preprint
142142
path: |

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v7
2828

2929
- name: Initialize CodeQL
3030
uses: github/codeql-action/init@v4

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
timeout-minutes: 15
2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@v7
3232

3333
- name: Set up Python
34-
uses: actions/setup-python@v5
34+
uses: actions/setup-python@v6
3535
with:
3636
python-version: '3.12'
3737
cache: 'pip'

.github/workflows/draft-pdf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
name: Paper Draft
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v7
1414
- name: Build draft PDF
1515
uses: openjournals/openjournals-draft-action@master
1616
with:
1717
journal: joss
1818
# This should be the path to the paper within your repo.
1919
paper-path: paper/paper.md
2020
- name: Upload
21-
uses: actions/upload-artifact@v4
21+
uses: actions/upload-artifact@v7
2222
with:
2323
name: paper
2424
# This is the output path where Pandoc will write the compiled

.github/workflows/lint.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,19 @@ jobs:
1010
lint:
1111
name: Lint & Style Checks
1212
runs-on: ubuntu-latest
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
language: [ 'python' ]
1713

1814
steps:
1915
- name: Checkout repository
20-
uses: actions/checkout@v4
16+
uses: actions/checkout@v7
2117

2218
- name: Set up Python 3.10
23-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2420
with:
2521
python-version: "3.10"
2622

2723
- name: Cache pip dependencies
2824
id: cache-pip
29-
uses: actions/cache@v4
25+
uses: actions/cache@v6
3026
with:
3127
path: ~/.cache/pip
3228
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml', 'requirements.txt') }}

.github/workflows/test.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,19 @@ jobs:
1010
test:
1111
name: Test & Get Coverage
1212
runs-on: ubuntu-latest
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
language: [ 'python' ]
1713

1814
steps:
1915
- name: Checkout repository
20-
uses: actions/checkout@v4
16+
uses: actions/checkout@v7
2117

2218
- name: Set up Python 3.10
23-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2420
with:
2521
python-version: "3.10"
2622

2723
- name: Cache pip dependencies
2824
id: cache-pip
29-
uses: actions/cache@v4
25+
uses: actions/cache@v6
3026
with:
3127
path: ~/.cache/pip
3228
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml', 'requirements.txt') }}
@@ -51,8 +47,16 @@ jobs:
5147
xvfb-run --auto-servernum pytest --cov=. --cov-report=xml --junitxml=junit.xml -o junit_family=legacy tests/
5248
5349
- name: Upload Coverage Report to Codecov
54-
uses: codecov/codecov-action@v4
50+
uses: codecov/codecov-action@v5
5551
with:
5652
token: ${{ secrets.CODECOV_TOKEN }}
5753
files: ./coverage.xml
58-
fail_ci_if_error: true
54+
fail_ci_if_error: false
55+
56+
- name: Upload Test Results to Codecov
57+
if: ${{ !cancelled() }}
58+
uses: codecov/test-results-action@v1
59+
with:
60+
token: ${{ secrets.CODECOV_TOKEN }}
61+
files: ./junit.xml
62+
fail_ci_if_error: false

codecov.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Codecov configuration
2+
# https://docs.codecov.com/docs/codecov-yaml
3+
4+
coverage:
5+
status:
6+
project:
7+
default:
8+
target: auto
9+
threshold: 0%
10+
informational: true
11+
patch:
12+
default:
13+
informational: true
14+
15+
comment:
16+
layout: "reach, diff, flags, files"
17+
behavior: default
18+
require_changes: false
19+
20+
ignore:
21+
- "tests/**"
22+
- "docs/**"
23+
- "paper/**"
24+
- "publications/**"
25+
- "setup.py"

0 commit comments

Comments
 (0)