From 7840039975a2775a3feeab778056fc58332dbbd4 Mon Sep 17 00:00:00 2001 From: antazoey Date: Thu, 5 Oct 2023 12:39:38 -0500 Subject: [PATCH] fix: requirements fix (#30) --- .github/workflows/test_ape_version.yaml | 4 ++++ action.yml | 2 +- requirements.txt | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.github/workflows/test_ape_version.yaml b/.github/workflows/test_ape_version.yaml index e4fc532..bf4f89d 100644 --- a/.github/workflows/test_ape_version.yaml +++ b/.github/workflows/test_ape_version.yaml @@ -48,3 +48,7 @@ jobs: - name: Print outputs run: | echo "Output: ${{ steps.ape-action.outputs.ape-version }}" + + - name: Requirements.txt Test + run: | + pip show hypothesis diff --git a/action.yml b/action.yml index 2a0ce04..433afd5 100644 --- a/action.yml +++ b/action.yml @@ -132,4 +132,4 @@ runs: - name: Install requirements.txt run: pip install -r requirements.txt shell: bash - if: steps.check-ape-config-yaml.outputs.files_exists == true + if: steps.check-requirements-txt.outputs.files_exists == 'true' diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4052176 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +# NOTE: This only exists to for testing that the action +# installs requirements files. +hypothesis>=2.31.0