Newer
Older
skill-ovos-flowtoys / .github / workflows / build_tests.yml
name: Run Build Tests
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - dev
  workflow_dispatch:

jobs:
  py_build_tests:
    uses: neongeckocom/.github/.github/workflows/python_build_tests.yml@master
    with:
      test_manifest: true
      manifest_ignored: "test/**,scripts/**,CHANGELOG.md"
  pip_audit:
    strategy:
      max-parallel: 2
      matrix:
        python-version: [ "3.10" ]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Setup Python
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install skill
        run: |
          pip install .
      - uses: pypa/[email protected]
        with:
          # Ignore setuptools vulnerability we can't do much about
          # Ignore numpy vulnerability affecting latest version for Py3.7
          ignore-vulns: |
            GHSA-r9hx-vwmv-q579
            GHSA-fpfv-jqm9-f5jm