-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up project configuration 🐞 (#3)
* Clean up configuration * Clean up configuration * fix call to codecov * Simplify gh action * Add ruff + basic implementation of ClassicalClassifier * Add basic mkdocs * Remove circleci * fix typo in gh action * minor changes to docs
- Loading branch information
Showing
41 changed files
with
1,324 additions
and
3,201 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
# Maintain dependencies for pip | ||
- package-ecosystem: "pip" | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
python-version: [3.9] | ||
# Needed by miniconda | ||
# https://github.com/marketplace/actions/setup-miniconda#important | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
python-version: ["3.12"] | ||
steps: | ||
- name: Git clone | ||
uses: actions/checkout@v2 | ||
- name: Set up virtual environment | ||
uses: conda-incubator/setup-miniconda@v2 | ||
uses: actions/checkout@v4 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
channels: defaults, conda-forge | ||
- name: Install dependencies | ||
run: conda install numpy scipy scikit-learn codecov pytest-cov | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
pip install .[test] | ||
- name: Test with pytest | ||
run: pytest -v --cov=tclf --pyargs tclf | ||
- name: Code coverage | ||
run: codecov | ||
run: pytest -v --cov=src tests/ | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/codecov-action@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,8 +60,7 @@ coverage.xml | |
*.log | ||
|
||
# Sphinx documentation | ||
doc/_build/ | ||
doc/generated/ | ||
site/ | ||
|
||
# PyBuilder | ||
target/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.