Skip to content

Commit dd1bcc9

Browse files
Fixed tests
1 parent e4cca86 commit dd1bcc9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252
retention-days: 1
5353

5454
checks:
55-
runs-on: ubuntu-latest
55+
runs-on: ${{ matrix.os }}-latest
5656

5757
needs: build
5858

5959
strategy:
6060
fail-fast: true
6161
matrix:
62-
os: [ "ubuntu-latest", "windows-latest" ]
62+
os: [ "ubuntu", "windows" ]
6363
php: [ "8.2", "8.3", "8.4" ]
6464

6565
name: check on ${{ matrix.os }} with PHP ${{ matrix.php }}
@@ -84,8 +84,13 @@ jobs:
8484
- name: Show version
8585
run: php builds/iconify --version
8686

87-
- name: Run iconify-ide
88-
run: sudo php builds/iconify test
87+
- name: Tests for Linux
88+
if: ${{ matrix.os == 'ubuntu' }}
89+
run: sudo php ./iconify test
90+
91+
- name: Tests for Windows
92+
if: ${{ matrix.os == 'windows' }}
93+
run: php ./iconify test
8994

9095
push:
9196
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)