Skip to content

Commit

Permalink
Update checks.yml script
Browse files Browse the repository at this point in the history
  • Loading branch information
Gatsik committed May 14, 2024
1 parent 7e057d0 commit c9afeb6
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,19 @@ on:
jobs:
checks:
runs-on: windows-latest
env:
PYWHEEL_INFIX: "cp36"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python 3.6.7
uses: actions/setup-python@v2
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.6.7
architecture: x86
python-version: 3.12

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sip==4.19.8
pip install pyqt5==5.7.1
pip install https://github.com/FAForever/python-wheels/releases/download/2.0.0/pywin32-221-${{ env.PYWHEEL_INFIX }}-${{ env.PYWHEEL_INFIX }}m-win32.whl
pip install wheel
pip install pytest
pip install cx_Freeze==5.0.2
pip install -r requirements.txt
- name: Copy required dlls
run: |
xcopy ${{ env.pythonLocation }}\\lib\\site-packages\\pywin32_system32 .
- name: Test with pytest
run: |
python runtests.py -vv --full-trace

0 comments on commit c9afeb6

Please sign in to comment.