Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 2 additions & 10 deletions .github/workflows/check_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
workflow_call:
workflow_dispatch:

env:
POETRY_VERSION: 1.8.2
PYTHON_VERSION: 3.11.9

jobs:
check_docs:
name: Check docs
Expand All @@ -16,14 +12,10 @@ jobs:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
uses: ni/python-actions/setup-python@v0.1.0
id: setup-python
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v9
with:
poetry-version: ${{ env.POETRY_VERSION }}
uses: ni/python-actions/[email protected]
- name: Check for lock changes
run: poetry check --lock
- name: Cache virtualenv (with docs)
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/check_nipanel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
workflow_call:
workflow_dispatch:

env:
POETRY_VERSION: 1.8.2
PYTHON_VERSION: 3.11.9

jobs:
check_nipanel:
name: Check nipanel
Expand All @@ -16,14 +12,10 @@ jobs:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
uses: ni/python-actions/setup-python@v0.1.0
id: setup-python
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v9
with:
poetry-version: ${{ env.POETRY_VERSION }}
uses: ni/python-actions/[email protected]
- name: Check for lock changes
run: poetry check --lock
- name: Cache virtualenv
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
workflow_call:
workflow_dispatch:

env:
POETRY_VERSION: 1.8.2

jobs:
run_unit_tests:
name: Run unit tests
Expand All @@ -22,14 +19,12 @@ jobs:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
uses: ni/python-actions/setup-python@v0.1.0
id: setup-python
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v9
with:
poetry-version: ${{ env.POETRY_VERSION }}
uses: ni/python-actions/[email protected]
- name: Cache virtualenv
uses: actions/cache@v4
with:
Expand Down