Skip to content

Commit dbef729

Browse files
f
1 parent 1712f38 commit dbef729

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/codeql.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
# Pdf reports always empty for PRs
3636
- name: Generate Security Report
37-
# if: ${{ github.event_name != 'pull_request' }}
37+
if: ${{ github.event_name != 'pull_request' }}
3838
uses: rsdmike/github-security-report-action@a149b24539044c92786ec39af8ba38c93496495d # v3.0.4
3939
with:
4040
template: report
@@ -47,7 +47,7 @@ jobs:
4747
REF_NAME="${{ github.ref_name }}"
4848
mv "report.pdf" "codeql_nncf_report_${DATE}_${REF_NAME//\//-}_${{ github.sha }}.pdf"
4949
- name: Upload CodeQL Artifacts
50-
# if: ${{ github.event_name != 'pull_request' }}
50+
if: ${{ github.event_name != 'pull_request' }}
5151
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
5252
with:
5353
name: codeql-scan-results

.github/workflows/precommit.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# name: precommit
2-
# permissions: read-all
1+
name: precommit
2+
permissions: read-all
33

4-
# on:
5-
# pull_request:
6-
# types:
7-
# - opened
8-
# - reopened
9-
# - synchronize
10-
# paths-ignore:
11-
# - '**/*.md'
12-
# - 'docs/**/*'
13-
# - 'tests/post_training/*' # post_training tests runs on Jenkins
14-
# - 'tests/torch/sota_checkpoints_eval.json' # reference for PT e2e
15-
# - 'tests/tensorflow/sota_checkpoints_eval.json' # reference for TF e2e
16-
# - 'tests/cross_fw/examples/*' # examples tests runs in separate workflow
4+
on:
5+
pull_request:
6+
types:
7+
- opened
8+
- reopened
9+
- synchronize
10+
paths-ignore:
11+
- '**/*.md'
12+
- 'docs/**/*'
13+
- 'tests/post_training/*' # post_training tests runs on Jenkins
14+
- 'tests/torch/sota_checkpoints_eval.json' # reference for PT e2e
15+
- 'tests/tensorflow/sota_checkpoints_eval.json' # reference for TF e2e
16+
- 'tests/cross_fw/examples/*' # examples tests runs in separate workflow
1717

18-
# jobs:
19-
# pytest:
20-
# uses: ./.github/workflows/call_precommit.yml
21-
# with:
22-
# python_version: "3.10.14"
23-
# gpu_enabled: true
18+
jobs:
19+
pytest:
20+
uses: ./.github/workflows/call_precommit.yml
21+
with:
22+
python_version: "3.10.14"
23+
gpu_enabled: true

0 commit comments

Comments
 (0)