Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: CI tests

on:
push:
branches:
Expand All @@ -6,8 +8,6 @@ on:
branches:
- main

name: CI Tests

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,7 +17,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
Expand All @@ -42,7 +42,7 @@ jobs:
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ on:
- main
pull_request:
branches:
- '**'
- "**"

jobs:
mypy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.14.0
python-version: "3.14"

- name: Install uv
run: |
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/ruff-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Ruff check

on:
push:
branches:
- main
pull_request:
branches:
- "**"

jobs:
ruff-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff check --output-format=github .
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[![PyPI version](https://img.shields.io/pypi/v/ggsci)](https://pypi.org/project/ggsci/)
![Python versions](https://img.shields.io/pypi/pyversions/ggsci)
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
[![CI Tests](https://github.com/nanxstats/py-ggsci/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/nanxstats/py-ggsci/actions/workflows/ci-tests.yml)
[![CI tests](https://github.com/nanxstats/py-ggsci/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/nanxstats/py-ggsci/actions/workflows/ci-tests.yml)
[![Mypy check](https://github.com/nanxstats/py-ggsci/actions/workflows/mypy.yml/badge.svg)](https://github.com/nanxstats/py-ggsci/actions/workflows/mypy.yml)
[![Ruff check](https://github.com/nanxstats/py-ggsci/actions/workflows/ruff-check.yml/badge.svg)](https://github.com/nanxstats/py-ggsci/actions/workflows/ruff-check.yml)
[![mkdocs](https://github.com/nanxstats/py-ggsci/actions/workflows/mkdocs.yml/badge.svg)](https://nanx.me/py-ggsci/)
![License](https://img.shields.io/pypi/l/ggsci)

Expand Down