Skip to content

Commit

Permalink
ci: simplify code coverage matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Sep 28, 2022
1 parent e6d2daa commit 6a91940
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/continuous-integration.yml
Expand Up @@ -102,13 +102,11 @@ jobs:

strategy:
matrix:
os: ["macos-latest", "windows-latest"]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
container: [""]
include:
- os: "ubuntu-latest"
container: "shivammathur/node:latest-amd64"
- os: "ubuntu-latest"
container: "shivammathur/node:latest-i386"
container: "setupphp/node:latest-i386"

steps:
- name: "Checkout repository"
Expand All @@ -134,12 +132,15 @@ jobs:
name: "Benchmark"
needs: ["code-coverage"]
runs-on: "ubuntu-latest"
container: "setupphp/node:latest-${{ matrix.arch }}"
container: "${{ matrix.container }}"

strategy:
matrix:
php: ["8.1"]
arch: ["amd64", "i386"]
container: [""]
include:
- php: "8.1"
container: "setupphp/node:latest-i386"

steps:
- name: "Configure Git"
Expand All @@ -166,7 +167,7 @@ jobs:
- name: "Upload benchmark artifacts"
uses: "actions/upload-artifact@v3.1.0"
with:
name: "Benchmark (PHP ${{ matrix.php }}, ${{ matrix.arch }})"
name: "Benchmark (PHP ${{ matrix.php }}, ${{ matrix.container }})"
path: "build/bench/"

unit-tests:
Expand Down

0 comments on commit 6a91940

Please sign in to comment.