Correct dependency on numpy version in test_1d_equal_nan_axis0
#7194
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
permissions: read-all | |
jobs: | |
pre-commit: | |
name: Check | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- name: Set up clang-format | |
run: | | |
sudo apt-get install -y clang-format-12 | |
sudo unlink /usr/bin/clang-format | |
sudo ln -s /usr/bin/clang-format-12 /usr/bin/clang-format | |
clang-format --version | |
- name: Set up pip packages | |
uses: BSFishy/pip-action@8f2d471d809dc20b6ada98c91910b6ae6243f318 # v1 | |
with: | |
packages: | | |
codespell | |
pylint | |
- name: Checkout DPNP repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
# use commit hash to make "no-commit-to-branch" check passing | |
ref: ${{ github.sha }} | |
- name: Set up python | |
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
with: | |
python-version: '3.13' | |
- name: Run pre-commit checks | |
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 |