Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

add required SECURITY.md file for OSSF Scorecard compliance #17

add required SECURITY.md file for OSSF Scorecard compliance

add required SECURITY.md file for OSSF Scorecard compliance #17

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 40
matrix:
check: [style]
python-version: [3.7]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U .[dev]
- name: Run check
run: |
black --target-version py37 --check .
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 40
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
set -x
pip install -U pip
pip install -U .[dev]
- uses: intel/project-example-for-python@github-action-python-run-unittests
with:
tests: 'tests/'
coverage: true