Skip to content

Commit

Permalink
v0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeet-chand committed Jun 2, 2024
1 parent b3019a6 commit 0795f26
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Install dependencies
run: |
pip install Pillow requests pyinstaller pyautogui
pip install Pillow requests pyinstaller
- name: Build for Windows
run: |
Expand All @@ -43,7 +43,7 @@ jobs:

- name: Install dependencies
run: |
pip install Pillow requests pyinstaller pyautogui
pip install Pillow requests pyinstaller
- name: Build for macOS
run: |
Expand All @@ -66,14 +66,12 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xvfb # As github linux platform uses headless requires lib xvfb to quit process
pip install Pillow requests pyinstaller pyautogui
pip install Pillow requests pyinstaller xvfbwrapper
- name: Build for Linux
run: |
pyinstaller --onefile --noconsole --icon=assets/view_earth.ico --distpath=. Heroes3MapLiker.py
- name: Run Linux Tests
run: |
xvfb-run --auto-servernum python tests.py # Use xvfb to run the tests
xvfb-run --auto-servernum python tests.py

0 comments on commit 0795f26

Please sign in to comment.