diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7712a7cf..71e32c39 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,11 +1,11 @@ name: CI -on: [push] +on: issue_comment jobs: call-reusable-workflow: uses: luxonis/luxonis-ml/.github/workflows/luxonis-ml-ci.yaml@feature/custom-pre-commit-hooks with: - os: 'ubuntu-latest,macos-latest' - python: '3.8,3.9' + os: 'ubuntu-latest' + python: "3.8" src_dir: 'src/luxonis_ml' diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 09192780..607942c9 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -30,8 +30,8 @@ jobs: steps: - id: set-matrix run: | + python_list=$(echo "${{ inputs.os }}" | xargs | jq -R -s -c 'split(",")') os_list=$(echo "${{ inputs.os }}" | xargs | jq -R -s -c 'split(",")') - python_list=$(echo "${{ inputs.python }}" | xargs | jq -R -s -c 'split(",")') echo "os-matrix=$os_list" >> $GITHUB_ENV echo "python-matrix=$python_list" >> $GITHUB_ENV