Skip to content

Update makefile - #4235

Merged
andrey-churkin merged 17 commits into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/makefile
Oct 5, 2026
Merged

andrey-churkin merged 17 commits into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/makefile

Conversation

@AlexanderDokuchaev

@AlexanderDokuchaev AlexanderDokuchaev commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

Update makefile:

  • remove unused comands
  • add actual commands and use them in workflows

Update workflows:

  • use make commands
  • group jobs in matrix

Reason for changes

Outdate makefile

Related tickets

Tests

https://github.com/openvinotoolkit/nncf/actions/runs/36149075137?pr=4235
https://github.com/openvinotoolkit/nncf/actions/runs/36149075404?pr=4235

@AlexanderDokuchaev AlexanderDokuchaev changed the title Ad/makefile Update makefile Sep 25, 2026
@AlexanderDokuchaev
AlexanderDokuchaev marked this pull request as ready for review September 26, 2026 06:27
@AlexanderDokuchaev
AlexanderDokuchaev requested a review from a team as a code owner September 26, 2026 06:27
Copilot AI lite review requested due to automatic review settings September 26, 2026 06:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved moderate findings affect dependency installation, test execution, reproducibility, and macOS worker usage.

Review effort: Lite
Findings: 2 Medium severity

Open (2)
What changed in this PR

This pull request updates Makefile commands and refactors CI workflows to use shared commands and matrix-based jobs.

Changes:

  • Adds backend-specific installation and test targets.
  • Adds pytest-xdist tooling.
  • Consolidates Linux, Windows, and macOS workflows into matrices.
  • Uses Makefile targets for documentation and lint workflows.
File Reviewed changes
tests/​tools/​requirements.txt Adds parallel pytest support.
Makefile Defines installation, testing, and linting commands.
.github/​workflows/​pre_commit_linters.yml Uses Makefile lint targets.
.github/​workflows/​macos.yml Uses a macOS test matrix.
.github/​workflows/​check_documentation.yml Uses Makefile documentation targets.
.github/​workflows/​call_precommit.yml Uses a Linux test matrix.
.github/​workflows/​call_precommit_windows.yml Uses a Windows test matrix.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Makefile
ifdef WEEKLY_MODELS
WEEKLY_MODELS_ARG := --weekly-models $(WEEKLY_MODELS)
endif
ARGS := $(wordlist 2, $(words $(MAKECMDGOALS)), $(MAKECMDGOALS))

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make test-common -- -k test_example
Use -- to pass extra arguments

Comment thread Makefile Outdated
Comment thread Makefile
@andrey-churkin
andrey-churkin merged commit 8a706db into openvinotoolkit:develop Oct 5, 2026
17 checks passed
AlexanderDokuchaev added a commit to AlexanderDokuchaev/nncf that referenced this pull request Oct 12, 2026
### Changes

Update makefile:
- remove unused comands
- add actual commands and use them in workflows

Update workflows:
- use make commands 
- group jobs in matrix

### Reason for changes

Outdate makefile

### Related tickets


### Tests

https://github.com/openvinotoolkit/nncf/actions/runs/36149075137?pr=4235
https://github.com/openvinotoolkit/nncf/actions/runs/36149075404?pr=4235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants