From bec4ab9dc30a4303cd4d93ebaaa793f90cdb9cc4 Mon Sep 17 00:00:00 2001 From: Daniel Abraham Date: Wed, 3 Jul 2024 21:59:18 -0700 Subject: [PATCH] GitHub setup action requires requirements.txt file --- .github/workflows/ci.yml | 2 +- requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1caf758..b752f13c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pytest ruff + pip install -r requirements.txt - name: Lint & format with ruff run: | ruff check --target-version py311 --output-format github . diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..e8e76619 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pytest ~= 8.2 +ruff ~= 0.5