Skip to content

Commit c459a71

Browse files
committed
Simplify GitHub Actions test workflow: remove OS matrix strategy and streamline dependency installation for macOS.
1 parent 1c8e267 commit c459a71

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,14 @@ on:
88

99
jobs:
1010
test:
11-
strategy:
12-
matrix:
13-
os: [macos-latest, ubuntu-latest] # Run tests on both MacOS & Ubuntu
14-
runs-on: ${{ matrix.os }}
11+
runs-on: macos-latest
1512

1613
steps:
1714
- name: Checkout Repository
1815
uses: actions/checkout@v3
1916

2017
- name: Install Dependencies
21-
run: |
22-
if [[ "$RUNNER_OS" == "Linux" ]]; then
23-
sudo apt update
24-
sudo apt install -y bats
25-
else
26-
brew install bats
27-
fi
18+
run: brew install bats
2819

2920
- name: Run PHPVM Tests
30-
run: |
31-
bats test_phpvm.bats
21+
run: bats test_phpvm.bats

0 commit comments

Comments
 (0)