From 78a87f63dbde8fe5c0bd621a1071f58b21ca70e8 Mon Sep 17 00:00:00 2001 From: Yana Date: Wed, 23 Oct 2024 18:32:26 -0500 Subject: [PATCH] updates CI pipeline --- .github/workflows/ci.yaml | 16 +++++++++++++++- tests/test1.py | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 tests/test1.py diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 820d7fdc..f952b9fa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -44,6 +44,13 @@ jobs: run: | black --check . + - name: Check for unused dependencies + run: | + pip-check + + - name: Run tests + run: pytest + build-macos: runs-on: macos-latest steps: @@ -69,4 +76,11 @@ jobs: - name: Check code formatting with black run: | - black --check . \ No newline at end of file + black --check . + + - name: Check for unused dependencies + run: | + pip-check + + - name: Run tests + run: pytest \ No newline at end of file diff --git a/tests/test1.py b/tests/test1.py new file mode 100644 index 00000000..94e3762c --- /dev/null +++ b/tests/test1.py @@ -0,0 +1,2 @@ +def test1(): + assert True \ No newline at end of file