Skip to content

Commit

Permalink
fix(ci): fix python 2.7 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jul 31, 2023
1 parent 9220cf0 commit 272f85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 272f85f

Please sign in to comment.