From 99957e2a5f62c84c6d97c7cacf1690ba073f9360 Mon Sep 17 00:00:00 2001 From: David Waroquiers Date: Tue, 23 Jul 2024 17:06:17 +0200 Subject: [PATCH] Adding dependabot. --- .github/dependabot.yml | 19 +++++++++++++++++++ .github/workflows/main_ci.yml | 1 + requirements/requirements.txt | 7 +++++++ 3 files changed, 27 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 requirements/requirements.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..fa463df --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,19 @@ +version: 2 +updates: +- package-ecosystem: pip + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 50 + target-branch: main + labels: + - dependency_updates + rebase-strategy: "disabled" +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "05:33" + target-branch: main + labels: + - CI \ No newline at end of file diff --git a/.github/workflows/main_ci.yml b/.github/workflows/main_ci.yml index d66c041..570f509 100644 --- a/.github/workflows/main_ci.yml +++ b/.github/workflows/main_ci.yml @@ -41,6 +41,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + python -m pip install -r requirements/requirements.txt python -m pip install .[dev] - name: Run pytest diff --git a/requirements/requirements.txt b/requirements/requirements.txt new file mode 100644 index 0000000..bce9fb3 --- /dev/null +++ b/requirements/requirements.txt @@ -0,0 +1,7 @@ +Cerberus==1.3.5 +matplotlib==3.9.1 +monty==2024.7.12 +numpy==1.26.4 +pandas==2.2.2 +pexpect==4.9.0 +pymatgen==2024.7.18