Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up project configuration 🐞 #3

Merged
merged 9 commits into from
Nov 20, 2023
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
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .coveragerc

This file was deleted.

18 changes: 18 additions & 0 deletions .github/.dependabot.yaml
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"
27 changes: 10 additions & 17 deletions .github/workflows/tests.yaml
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
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ coverage.xml
*.log

# Sphinx documentation
doc/_build/
doc/generated/
site/

# PyBuilder
target/
8 changes: 0 additions & 8 deletions .readthedocs.yml

This file was deleted.

1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
![GitHubActions](https://github.com/karelze/tclf//actions/workflows/tests.yaml/badge.svg)
![Codecov](https://codecov.io/gh/karlze/tclf/branch/master/graph/badge.svg)
![CircleCI](https://dl.circleci.com/status-badge/img/gh/KarelZe/tclf/tree/master.svg?style=svg)
![ReadTheDocs](https://readthedocs.org/projects/tclf/badge/?version=latest)

# tclf 💸

Expand All @@ -19,7 +17,7 @@

## Usage

Documentation is available [here](https://tclf.readthedocs.io/en/latest/quick_start.html).
Documentation is available [here](https://KarelZe.github.io/tclf/).

## References

Expand Down
184 changes: 0 additions & 184 deletions doc/Makefile

This file was deleted.

16 changes: 0 additions & 16 deletions doc/_static/css/project-template.css

This file was deleted.

Loading