Skip to content

Fixing runinng unit tests on MacOS #1

Fixing runinng unit tests on MacOS

Fixing runinng unit tests on MacOS #1

Workflow file for this run

name: Test

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

(Line: 27, Col: 5): 'runs-on' is already defined
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on: pull_request
jobs:
run-tests:
name: Run Tests
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: buildjet-8vcpu-ubuntu-2204-arm
container:
image: ghcr.io/viam-modules/viam-camera-realsense:arm64
options: --platform linux/arm64
- os: ubuntu-latest
container:
image: ghcr.io/viam-modules/viam-camera-realsense:amd64
options: --platform linux/amd64
- os: macos-latest
container: null
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies (macOS)
if: matrix.os == 'macos-latest'
run: |
make setup
./bin/build_librealsense_macos.sh
- name: Run the tests
run: make test-native