From 7de5198392bf1acdea43e168e18b5811da423f4f Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Thu, 26 Sep 2024 20:11:36 -0700 Subject: [PATCH] install requirements --- .github/actions/test-python/action.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/actions/test-python/action.yml b/.github/actions/test-python/action.yml index 9d1a0df0..f6ad806e 100644 --- a/.github/actions/test-python/action.yml +++ b/.github/actions/test-python/action.yml @@ -15,4 +15,13 @@ runs: with: python-version: ${{ inputs.PYTHON_VERSION }} cache: 'pip' - - run: pip install -r requirements.txt + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi + + # - name: Test with pytest + # run: | + # pytest