diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index 2d3f499..fe6e9b7 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -9,11 +9,16 @@ workflow_dispatch: jobs: - build_tests: + 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.7, 3.8, 3.9, "3.10" ] + python-version: [ "3.10" ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -21,24 +26,13 @@ uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - - name: Install Build Tools - run: | - python -m pip install build wheel - - name: Install System Dependencies - run: | - sudo apt-get update - sudo apt install python3-dev swig libssl-dev - - name: Build Source Packages - run: | - python setup.py sdist - - name: Build Distribution Packages - run: | - python setup.py bdist_wheel - name: Install skill run: | pip install . - uses: pypa/gh-action-pip-audit@v1.0.0 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 \ No newline at end of file + GHSA-r9hx-vwmv-q579 + GHSA-fpfv-jqm9-f5jm diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..b9ecb58 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,7 @@ +recursive-include dialog * +recursive-include vocab * +recursive-include locale * +recursive-include res * +recursive-include ui * +include *.json +include *.txt \ No newline at end of file