Skip to content

Commit

Permalink
remove complex object from matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Aug 26, 2024
1 parent c919b98 commit ab55d5e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@ on:

jobs:
cxx:
name: "C++ unit tests on ${{ matrix.os }}, as ${{ matrix.user.name }}"
name: "C++ unit tests on ${{ matrix.os }}, as ${{ matrix.user }}"
strategy:
fail-fast: false
matrix:
user:
- name: 'root'
isRoot: '1'
- name: 'normal-user'
isRoot: '0'
- root
- 'normal-user'
os:
- macos-latest
- ubuntu-latest
exclude:
- os: macos-latest
user: 'root'
runs-on: ${{ matrix.os }}
env:
SUDO: ${{ matrix.user.isRoot }}
SUDO: ${{ matrix.user == 'root' && 1 || 0 }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -43,7 +44,7 @@ jobs:
- run: ls -R buildout
- uses: actions/upload-artifact@v4
with:
name: cxx-${{ matrix.os }}-${{ matrix.user.name }}
name: cxx-${{ matrix.os }}-${{ matrix.user }}
path: 'buildout/testlogs/*'

integration:
Expand Down

0 comments on commit ab55d5e

Please sign in to comment.