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
32 changes: 16 additions & 16 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This guide explains how to set up your environment, make changes, and submit the

## Getting Started

Before contributing, please review the [Developer Guide]().
Before contributing, please review the [Developer Guide]().
It covers REPO-NAME’s architecture, setup instructions, and contribution workflow.

If you’re new to the project, we also recommend:
Expand All @@ -23,19 +23,19 @@ If you’re new to the project, we also recommend:

When you’re ready to submit your work:

1. **Push your branch** to GitHub.
2. **Open a [pull request](https://help.github.com/articles/using-pull-requests/)** against the `main` branch.
1. **Push your branch** to GitHub.
2. **Open a [pull request](https://help.github.com/articles/using-pull-requests/)** against the `main` branch.
3. **Fill out the PR template**, including:
- A concise summary of what your PR does
- A list of all changes introduced
- Details on how these changes affect the repository (features, tests, documentation, etc.)
- A concise summary of what your PR does
- A list of all changes introduced
- Details on how these changes affect the repository (features, tests, documentation, etc.)
4. **Verify before submission**:
- All tests pass
- Pre-commit checks succeed
- Documentation is updated where applicable
- All tests pass
- Pre-commit checks succeed
- Documentation is updated where applicable
5. **Review process**:
- Your PR will be reviewed by the core development team.
- At least **one approval** is required before merging.
- Your PR will be reviewed by the core development team.
- At least **one approval** is required before merging.

We aim to provide constructive feedback quickly and appreciate your patience during the review process.

Expand All @@ -45,12 +45,12 @@ We aim to provide constructive feedback quickly and appreciate your patience dur

Found a bug or have a feature request?

1. **Open a new issue** on GitHub.
2. Provide a **clear and descriptive title**.
1. **Open a new issue** on GitHub.
2. Provide a **clear and descriptive title**.
3. Include:
- Steps to reproduce the issue (if applicable)
- Expected vs. actual behavior
- Relevant logs, screenshots, or input files
- Steps to reproduce the issue (if applicable)
- Expected vs. actual behavior
- Relevant logs, screenshots, or input files

Well-documented issues help us address problems faster and keep REPO-NAME stable and robust.

Expand Down
8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<!-- List all the changes introduced in this PR. -->
### Change 1 <!-- Rename Change 1 to reflect change title -->:
- <!-- Bullet point the changes in update 1. -->
-
-

### Change 2 <!-- Rename Change 2 to reflect change title -->:
- <!-- Bullet point the changes in update 2. -->
-
-

### Change 3 <!-- Rename Change 3 to reflect change title -->:
- <!-- Bullet point the changes in update 3. -->
-
-

## Impact
- <!-- Bullet point the expected impact this PR will have on the codebase. -->
-
-
71 changes: 71 additions & 0 deletions .github/workflows/example_package_project-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: example_package_YOUR_USERNAME_HERE CI

on:
push:
branches: [main]
pull_request:
schedule:
- cron: '0 8 * * 1-5'
workflow_dispatch:

jobs:
tests:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, windows-2025, macos-15]
python-version: ["3.12", "3.13", "3.14"]
steps:
- name: Checkout repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: ${{ matrix.python-version }}

- name: Install example_package_YOUR_USERNAME_HERE and its testing dependencies
run: pip install -e .[testing]

- name: Run test suite
run: pytest --cov example_package_YOUR_USERNAME_HERE --cov-report term-missing --cov-append .

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

docs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up Python 3.14
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: 3.14.0
- name: Install python dependencies
run: |
pip install --upgrade pip
pip install -e .[docs]
# - name: Build docs
# run: cd docs && make

pre-commit:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up Python 3.14
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: 3.14.0
- name: Install python dependencies
run: |
pip install --upgrade pip
pip install -e .[pre-commit,docs,testing]
- name: Run pre-commit
run: |
pre-commit install
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )