RSDK-4455 - Run session heartbeat loop in separate thread #1480
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request_target: | |
branches: [ main ] | |
jobs: | |
test: | |
if: github.repository_owner == 'viamrobotics' | |
runs-on: [self-hosted, x64] | |
container: | |
image: python:${{ matrix.python-version }} | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: Checkout Push/Workflow Dispatch | |
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' | |
uses: actions/checkout@v3 | |
- name: Checkout PR | |
if: github.event_name == 'pull_request_target' | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Fix Poetry | |
run: poetry config installer.modern-installation false | |
- name: Install package | |
run: make install | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test | |
- name: Test Documentation | |
run: make test_docs |