Skip to content

Commit b232cc4

Browse files
committed
Run tests on Ubuntu and macOS
1 parent 3bb88b8 commit b232cc4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pages.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
environment:
2424
name: github-pages
2525
url: ${{ steps.deployment.outputs.page_url }}
26-
runs-on: ubuntu-latest
26+
runs-on: ${{ matrix.os }}
27+
strategy:
28+
matrix:
29+
os: [ubuntu-latest, macos-latest]
2730
steps:
2831
- name: Checkout
2932
uses: actions/checkout@v4
@@ -50,10 +53,12 @@ jobs:
5053
run: make docs
5154

5255
- name: Upload artifact
56+
if: runner.os == 'ubuntu-latest'
5357
uses: actions/upload-artifact@v4
5458
with:
5559
path: docs
5660

5761
- name: Deploy to GitHub Pages
62+
if: runner.os == 'ubuntu-latest'
5863
id: deployment
59-
uses: actions/deploy-pages@v1
64+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)