Skip to content

Commit 1cb5164

Browse files
committed
- Re-enable auto-test
1 parent 940ac95 commit 1cb5164

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -136,30 +136,30 @@ jobs:
136136
- uses: actions/checkout@v4
137137
with:
138138
submodules: recursive
139-
# - name: Love actions for testing
140-
# uses: love-actions/love-actions-test@v1
141-
# with:
142-
# font-path: ./parts/fonts/proportional.otf
143-
# language-folder: ./parts/language
144-
# - name: Download core love package
145-
# uses: actions/download-artifact@v4
146-
# with:
147-
# name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}
148-
# - name: Download love
149-
# shell: bash
150-
# run: |
151-
# curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage
152-
# chmod +x love-11.4-x86_64.AppImage
153-
# - name: Prepare PulseAudio and AppImage
154-
# shell: bash
155-
# run: |
156-
# sudo apt-get update
157-
# sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils libfuse2 -y
158-
# - name: Run automated test
159-
# uses: coactions/setup-xvfb@v1
160-
# with:
161-
# run: |
162-
# ./love-11.4-x86_64.AppImage ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
139+
- name: Love actions for testing
140+
uses: love-actions/love-actions-test@v1
141+
with:
142+
font-path: ./parts/fonts/proportional.otf
143+
language-folder: ./parts/language
144+
- name: Download core love package
145+
uses: actions/download-artifact@v4
146+
with:
147+
name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}
148+
- name: Download love
149+
shell: bash
150+
run: |
151+
curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage
152+
chmod +x love-11.4-x86_64.AppImage
153+
- name: Prepare PulseAudio and AppImage
154+
shell: bash
155+
run: |
156+
sudo apt-get update
157+
sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils libfuse2 -y
158+
- name: Run automated test
159+
uses: coactions/setup-xvfb@v1
160+
with:
161+
run: |
162+
./love-11.4-x86_64.AppImage ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
163163
164164
build-android:
165165
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)