From 134bc5fe46add7f06367c6719d0e44b710c750d8 Mon Sep 17 00:00:00 2001 From: Fabian Keller Date: Tue, 15 Oct 2024 15:03:35 +0200 Subject: [PATCH] Enable CI for pull requests; fix project setup --- .github/workflows/tests.yml | 8 +++++++- pyproject.toml | 13 ------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 31b10d6..17e60a5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,12 @@ name: pytest -on: [push] +on: + push: + branches: + - main + pull_request: + schedule: + - cron: '0 0 * * 0' # at 00:00 every Sunday jobs: build: diff --git a/pyproject.toml b/pyproject.toml index 8a3af74..b2a02db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,17 +1,4 @@ -[project] -name = "auraloss" -version = "0.4.0" -description = "Collection of audio-focused loss functions in PyTorch." -authors = [ - { name = "Christian Steinmetz" }, - { email = "c.j.steinmetz@qmul.ac.uk" }, -] -dependencies = ["torch", "numpy"] - [build-system] # Minimum requirements for the build system to execute. requires = ["setuptools", "wheel", "attrs"] build-backend = "setuptools.build_meta" - -[project.optional-dependencies] -all = ["matplotlib", "librosa", "scipy", "scipy"]