From 272f85f9f71665809d9491449b236cb592f41e0f Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sun, 30 Jul 2023 20:59:56 -0400 Subject: [PATCH] fix(ci): fix python 2.7 setup --- .github/workflows/CI.yml | 4 +--- .github/workflows/python-tests.yml | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c5a82210..bdfffc35 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -44,9 +44,7 @@ jobs: path: Themerr-plex.bundle - name: Install Python 2.7 - uses: actions/setup-python@v4 - with: - python-version: '2.7' + uses: LizardByte/.github/actions/setup_python2@feat(actions)-add-setup-python2.7-action - name: Set up Python 2.7 Dependencies working-directory: Themerr-plex.bundle diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 2248c749..70e0acc3 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -19,9 +19,7 @@ jobs: uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '2.7' + uses: LizardByte/.github/actions/setup_python2@feat(actions)-add-setup-python2.7-action - name: Install python dependencies shell: bash @@ -33,5 +31,6 @@ jobs: python -m pip --no-python-version-warning --disable-pip-version-check install -r requirements.txt - name: Test with pytest + shell: bash # our Python 2.7 setup action doesn't support PowerShell run: | python -m pytest -v