name: Tests on: pull_request: push: branches: [main] jobs: plugin-safety: name: Plugin safety harness + unit tests runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: persist-credentials: false - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.12" cache: pip - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt -r requirements-test.txt pip install RGBMatrixEmulator - name: Run harness + visual rendering tests run: | pytest --no-cov \ test/plugins/test_harness.py \ test/plugins/test_visual_rendering.py \ test/plugins/test_plugin_matrix.py