[CI] Distribute connect
as a rpk managed plugin
#14
Workflow file for this run
This file contains 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: Test Plugin Uploader | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: install deps | |
working-directory: resources/plugin_uploader | |
run: pip install -r requirements_test.txt | |
- name: run unit tests | |
working-directory: resources/plugin_uploader | |
run: pytest . | |
ruff-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- uses: chartboost/ruff-action@v1 | |
with: | |
version: 0.4.10 | |
src: './resources/plugin_uploader' | |
pyright-type-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: install deps | |
working-directory: resources/plugin_uploader | |
run: pip install -r requirements_test.txt | |
- name: install pyright | |
run: pip install pyright==1.1.378 | |
- name: run pyright | |
working-directory: resources/plugin_uploader | |
run: pyright |