Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] sdl tests #14

Merged
merged 35 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5dbee25
sdl tests
mryzhov Feb 8, 2024
e810ae0
removed bandit tests from linux workflow
mryzhov Feb 8, 2024
99c7031
deps
mryzhov Feb 8, 2024
a1a1a5d
fixed mac triggers
mryzhov Feb 8, 2024
ebe944a
fixed trigger
mryzhov Feb 8, 2024
cf5fae7
reverted triggers
mryzhov Feb 8, 2024
5024fb6
workflow_run only
mryzhov Feb 8, 2024
15a690b
workflow_run branch
mryzhov Feb 8, 2024
0812ddc
Merge branch 'master' into sdl
mryzhov Feb 8, 2024
ea674ca
all types
mryzhov Feb 8, 2024
c874500
Merge branch 'sdl' of https://github.com/mryzhov/openvino_tokenizers …
mryzhov Feb 8, 2024
18f2087
trivy scan
mryzhov Feb 8, 2024
b64971f
reverted mac
mryzhov Feb 8, 2024
f221e5e
updated action
mryzhov Feb 8, 2024
cc2f1f1
set permissions
mryzhov Feb 8, 2024
3f0538d
scan artifacts
mryzhov Feb 8, 2024
81281fc
revert trivy_scan
mryzhov Feb 9, 2024
80fe456
try deps
mryzhov Feb 9, 2024
aecae5d
dep on linux
mryzhov Feb 9, 2024
26ecd33
remove job condition
mryzhov Feb 9, 2024
b64d52a
Revert "revert trivy_scan"
mryzhov Feb 13, 2024
b56f5f8
added trivy scan
mryzhov Feb 13, 2024
04f77f0
update names
mryzhov Feb 13, 2024
541ff9a
clone repo
mryzhov Feb 13, 2024
92aad63
changed scan-ref
mryzhov Feb 13, 2024
340ceca
syntax
mryzhov Feb 13, 2024
9ab6058
scan all sources
mryzhov Feb 13, 2024
1259564
env
mryzhov Feb 13, 2024
fac41d8
changed env
mryzhov Feb 13, 2024
9b3373b
simplify pipeline
mryzhov Feb 13, 2024
36841d1
checkmarx_scan
mryzhov Feb 13, 2024
67cefaa
renamed
mryzhov Feb 13, 2024
c9202d8
removed checkmarx tests
mryzhov Feb 13, 2024
c12a4a2
set mac deployment target
mryzhov Feb 13, 2024
8142d17
simplified pipeline
mryzhov Feb 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,6 @@ jobs:
python3 -m pip install $wheel_name[dev]
popd

- name: Tokenizers Bandit tests
run: |
bandit -c pyproject.toml -r python
working-directory: ${{ env.OPENVINO_TOKENIZERS_REPO }}

- name: Tokenizers regression tests
run: |
python3 -m pytest tokenizers_test.py
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:

env:
PYTHON_VERSION: '3.11'
MACOSX_DEPLOYMENT_TARGET: '10.12'

jobs:
openvino_build:
Expand Down
55 changes: 55 additions & 0 deletions .github/workflows/sdl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: OpenVINO tokenizers sdl tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- 'releases/**'

permissions:
actions: read
contents: read
security-events: write

concurrency:
# github.ref is not unique in post-commit
group: ${{ github.event_name == 'push' && github.run_id || github.ref }}-linux-sdl
cancel-in-progress: true

env:
PYTHON_VERSION: '3.11'

jobs:
sdl_tests:
name: SDL tests
timeout-minutes: 5
defaults:
run:
shell: bash
runs-on: ubuntu-latest

steps:
- name: Clone Openvino tokenizers sources and tests
uses: actions/checkout@v4

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'

- name: Install Python tests dependencies
run: |
python3 -m pip install bandit

- name: Tokenizers Bandit tests
run: |
bandit -c pyproject.toml -r python

- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'

Loading