forked from MycroftAI/skill-naptime
-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (37 loc) · 986 Bytes
/
build_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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