Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
Check links in markdown files.
  • Loading branch information
benbovy committed Dec 11, 2024
1 parent 8c5a42e commit 61841b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,29 @@ on:
pull_request:
branches: [main]

name: Lint
name: CI Additional

jobs:
lint:
name: mypy
check-links:
name: Check markdown hyperlinks
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Markdown link check
uses: gaurav-nelson/github-action-markdown-link-check@v1

mypy:
name: Mypy
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup micromamba
uses: mamba-org/setup-micromamba@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Date
id: get-date
Expand All @@ -55,7 +55,7 @@ jobs:
python=${{ matrix.python-version }}
- name: Fetch s2geography
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: paleolimbot/s2geography
ref: main
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
pytest . -vv
- name: Generate and upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
gcov: true
gcov_include: src
Expand Down

0 comments on commit 61841b1

Please sign in to comment.