forked from cansik/pyrealsense2-macosx
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 807 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Test
on:
workflow_dispatch:
inputs:
tag:
description: 'Version Tag'
required: false
default: 'v2.54.1'
jobs:
build:
strategy:
matrix:
os: ["macos-13"]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
name: python ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# install pip packages
- name: Install pyrealsense2-mac
run: pip install pyrealsense2-mac
# run test
- name: Test pyrealsense2-mac
run: |
cd $GITHUB_WORKSPACE
python test/count-devices.py