From 5cb28a431ca3be9806305548100a3ada5865c17d Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:47:10 -0500 Subject: [PATCH 01/15] adopt ni/python-actions for PR builds --- .github/workflows/PR.yml | 45 +++++++++++++++++++--------------------- poetry.toml | 2 ++ 2 files changed, 23 insertions(+), 24 deletions(-) create mode 100644 poetry.toml diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index f666c46..7d0864e 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -22,26 +22,24 @@ jobs: env: PYTHON_VERSION: 3.11 # Use latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: ${{ env.PYTHON_VERSION }} - - uses: Gr1N/setup-poetry@v8 - with: - poetry-version: ${{ env.POETRY_VERSION }} - # @TODO: This is a workaround for there not being a way to check the lock file - # See: https://github.com/python-poetry/poetry/issues/453 + - name: Check out repo + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Set up Python + uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 + - name: Set up Poetry + uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 - name: Check for lock changes run: | poetry lock --check - - uses: actions/cache@v4 + - name: Cache virtualenv + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: - path: ~/.cache/pypoetry/virtualenvs - key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} + path: .venv + key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} - name: Install the Package run: poetry install -vvv - name: Lint the Code - run: poetry run ni-python-styleguide lint + run: poetry run nps lint tests: runs-on: ${{ matrix.os }} @@ -50,18 +48,17 @@ jobs: os: [macos-latest, windows-latest, ubuntu-latest] python-version: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - uses: Gr1N/setup-poetry@v8 - with: - poetry-version: ${{ env.POETRY_VERSION }} - - uses: actions/cache@v4 + - name: Check out repo + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Set up Python + uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 + - name: Set up Poetry + uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 + - name: Cache virtualenv + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: - path: ~/.cache/pypoetry/virtualenvs - key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} + path: .venv + key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} - name: Install the Package run: poetry install - name: Run tests diff --git a/poetry.toml b/poetry.toml new file mode 100644 index 0000000..ab1033b --- /dev/null +++ b/poetry.toml @@ -0,0 +1,2 @@ +[virtualenvs] +in-project = true From be6197acfde51b355a77177d894a811e99b9ba40 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:23:41 -0600 Subject: [PATCH 02/15] address review comments --- .github/workflows/PR.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 7d0864e..3f641c1 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -13,18 +13,14 @@ on: workflow_call: workflow_dispatch: -env: - POETRY_VERSION: 1.8.1 - jobs: checks: runs-on: ubuntu-latest - env: - PYTHON_VERSION: 3.11 # Use latest steps: - name: Check out repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Python + id: setup-python uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 - name: Set up Poetry uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 @@ -51,6 +47,7 @@ jobs: - name: Check out repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Python + id: setup-python uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 - name: Set up Poetry uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 From 7c66066c376f6cf9d0a07e803acdede3cd99dd81 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:27:21 -0600 Subject: [PATCH 03/15] try env.pythonVersion --- .github/workflows/PR.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 3f641c1..5eb4e89 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -31,7 +31,7 @@ jobs: uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: .venv - key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} + key: nps-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('poetry.lock') }} - name: Install the Package run: poetry install -vvv - name: Lint the Code @@ -55,7 +55,7 @@ jobs: uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: .venv - key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} + key: nps-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('poetry.lock') }} - name: Install the Package run: poetry install - name: Run tests From 83b1c3649522add6acca07530dc5d28b65f56083 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:31:25 -0600 Subject: [PATCH 04/15] try upgrading python-actions and using steps....output --- .github/workflows/PR.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 5eb4e89..e650fdc 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -21,9 +21,9 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Python id: setup-python - uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Check for lock changes run: | poetry lock --check @@ -31,7 +31,7 @@ jobs: uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: .venv - key: nps-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('poetry.lock') }} + key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} - name: Install the Package run: poetry install -vvv - name: Lint the Code @@ -48,14 +48,14 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Python id: setup-python - uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 + uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Set up Poetry - uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1 + uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Cache virtualenv uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: .venv - key: nps-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('poetry.lock') }} + key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} - name: Install the Package run: poetry install - name: Run tests From ee75dc36110642710e856b75ac1391efa845997d Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:35:25 -0600 Subject: [PATCH 05/15] apparently now it's check --lock --- .github/workflows/PR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index e650fdc..0653bbc 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -26,7 +26,7 @@ jobs: uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Check for lock changes run: | - poetry lock --check + poetry check --lock - name: Cache virtualenv uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: From e1dff113abd0560fe9a9d089332ee62a50ff9e5f Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:41:27 -0600 Subject: [PATCH 06/15] actually request a python version --- .github/workflows/PR.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 0653bbc..0c3ce9c 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -49,6 +49,8 @@ jobs: - name: Set up Python id: setup-python uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 + with: + python-version: ${{ matrix.python-version }} - name: Set up Poetry uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - name: Cache virtualenv From 103336d95dcbf44dfd328e6163ce08226c8da135 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:44:25 -0600 Subject: [PATCH 07/15] don't test 3.8 for now --- .github/workflows/PR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 0c3ce9c..d8a188e 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -42,7 +42,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - python-version: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13] + python-version: [3.9, '3.10', 3.11, 3.12, 3.13] steps: - name: Check out repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 From 00200121ea090f4b67c76d7e31e101f1a8bb3fe5 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:47:23 -0600 Subject: [PATCH 08/15] =?UTF-8?q?what=20does=20adding=20=CF=80thon=20and?= =?UTF-8?q?=20free-threaded=20look=20like=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/PR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index d8a188e..7810d71 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -42,7 +42,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - python-version: [3.9, '3.10', 3.11, 3.12, 3.13] + python-version: [3.9, '3.10', 3.11, 3.12, 3.13, 3.14, 3.14t] steps: - name: Check out repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 From ea53f44bf776b80be606dbf90a9955de97c79703 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:48:40 -0600 Subject: [PATCH 09/15] also drop support for 3.8 so that we can use poetry 2 --- poetry.lock | 20 +++----------------- pyproject.toml | 3 +-- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/poetry.lock b/poetry.lock index f7bd279..9e31c7e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "better-diff" @@ -177,20 +177,6 @@ files = [ pycodestyle = "*" setuptools = "*" -[[package]] -name = "flake8-tidy-imports" -version = "4.10.0" -description = "A flake8 plugin that helps you write tidier imports." -optional = false -python-versions = ">=3.8" -files = [ - {file = "flake8_tidy_imports-4.10.0-py3-none-any.whl", hash = "sha256:b0387fb2ea200441bd142309e716fb7b8f4b0937bdf5f8b7c0c118a5f5e2b8ed"}, - {file = "flake8_tidy_imports-4.10.0.tar.gz", hash = "sha256:bd6cf86465402d2b86903009b748d85a628e599e17b76e810c9857e3a2815173"}, -] - -[package.dependencies] -flake8 = ">=3.8.0" - [[package]] name = "flake8-tidy-imports" version = "4.11.0" @@ -494,5 +480,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.8" -content-hash = "a8aef2d773dabdd18223fcb2aabce153b8a4f45750fe636d15acf5b47143ea16" +python-versions = "^3.9" +content-hash = "70deb3022c1a97a457ebbe6d29ff4a08e7c8265a609beb3911fb4832b70f7e88" diff --git a/pyproject.toml b/pyproject.toml index 043e32b..7fd4519 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ include = ["ni_python_styleguide/config.toml"] [tool.poetry.dependencies] -python = "^3.8" +python = "^3.9" pathspec = ">=0.11.1" # Tools we aggregate @@ -39,7 +39,6 @@ flake8-black = ">=0.2.1" flake8-docstrings = ">=1.5.0" flake8-import-order = ">=0.18.1,<0.19.0" # we're not compatible with 0.19.0 yet due to #226 flake8-tidy-imports = [ - {version = ">=4.4.1", python = ">=3.7,<3.9"}, {version=">=4.11.0", python="^3.9"}, ] pep8-naming = ">=0.11.1" From f384257b5ef9ccca6e4a40453f1b3340ed1011ca Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:29:48 -0600 Subject: [PATCH 10/15] simplify dep specification --- poetry.lock | 2 +- pyproject.toml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 9e31c7e..5ab5cdc 100644 --- a/poetry.lock +++ b/poetry.lock @@ -481,4 +481,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "70deb3022c1a97a457ebbe6d29ff4a08e7c8265a609beb3911fb4832b70f7e88" +content-hash = "446aa7a19ff8421be0be338dc39fe9926dc8f1757ec24188a99dfe63cb2809f6" diff --git a/pyproject.toml b/pyproject.toml index 7fd4519..c412472 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,9 +38,7 @@ isort = ">=5.10" flake8-black = ">=0.2.1" flake8-docstrings = ">=1.5.0" flake8-import-order = ">=0.18.1,<0.19.0" # we're not compatible with 0.19.0 yet due to #226 -flake8-tidy-imports = [ - {version=">=4.11.0", python="^3.9"}, -] +flake8-tidy-imports = ">=4.11.0" pep8-naming = ">=0.11.1" # Rejected flake8 plugins should be listed here (in alphabetical order) From 7efc7407b678f3183f7760c78273cea0d22eef0c Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:30:10 -0600 Subject: [PATCH 11/15] increase verbosity in test poetry install --- .github/workflows/PR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 7810d71..154f832 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -59,6 +59,6 @@ jobs: path: .venv key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} - name: Install the Package - run: poetry install + run: poetry install -v - name: Run tests run: poetry run pytest -v From 6d593862a21d316ffc143021d7f40b1d803a9522 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:36:28 -0600 Subject: [PATCH 12/15] also use ni/python-actions/analyze-project --- .github/workflows/PR.yml | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 154f832..58f2799 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -15,27 +15,17 @@ on: jobs: checks: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, windows-latest, ubuntu-latest] + python-version: [3.9, 3.14] # oldest supported and latest tested steps: - - name: Check out repo - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Set up Python - id: setup-python - uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - - name: Set up Poetry - uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - - name: Check for lock changes - run: | - poetry check --lock - - name: Cache virtualenv - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 + - uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 with: - path: .venv - key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} - - name: Install the Package - run: poetry install -vvv - - name: Lint the Code - run: poetry run nps lint + python-version: ${{ matrix.python-version }} + - uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 + - uses: ni/python-actions/analyze-project@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 tests: runs-on: ${{ matrix.os }} From e63a50e3728e75cd89ca934c77bc06ba631bc9ab Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:41:04 -0600 Subject: [PATCH 13/15] I thought this was the default?? --- .github/workflows/PR.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 58f2799..f52d7f1 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -26,6 +26,8 @@ jobs: python-version: ${{ matrix.python-version }} - uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - uses: ni/python-actions/analyze-project@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 + with: + project-directory: ${{ github.workspace }} tests: runs-on: ${{ matrix.os }} From 482511c24265a2b8890b2be6f39265c157c706df Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:45:09 -0600 Subject: [PATCH 14/15] add some debug output --- .github/workflows/PR.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index f52d7f1..dad3c30 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -25,6 +25,10 @@ jobs: with: python-version: ${{ matrix.python-version }} - uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 + - name: List path and contents + run: | + pwd + ls -la - uses: ni/python-actions/analyze-project@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 with: project-directory: ${{ github.workspace }} From 4d8a5fb86ff997671424f1c6e29a10a21ce99116 Mon Sep 17 00:00:00 2001 From: mshafer-NI <23644905+mshafer-NI@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:47:31 -0600 Subject: [PATCH 15/15] oh, have to check out first --- .github/workflows/PR.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index dad3c30..5c04cdc 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -21,17 +21,13 @@ jobs: os: [macos-latest, windows-latest, ubuntu-latest] python-version: [3.9, 3.14] # oldest supported and latest tested steps: + - name: Check out repo + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 with: python-version: ${{ matrix.python-version }} - uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - - name: List path and contents - run: | - pwd - ls -la - uses: ni/python-actions/analyze-project@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 - with: - project-directory: ${{ github.workspace }} tests: runs-on: ${{ matrix.os }}