-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd5a1cb
commit b64acf3
Showing
7 changed files
with
399 additions
and
490 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,15 +30,13 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
|
||
- name: Install Poetry | ||
run: | | ||
pip install --upgrade pip poetry | ||
pip --version | ||
poetry --version | ||
- uses: astral-sh/[email protected] | ||
with: | ||
version: ~=0.5.27 | ||
|
||
- name: Install dependencies | ||
run: | | ||
poetry install | ||
uv sync | ||
- name: Set preview variables | ||
if: github.event_name == 'pull_request' | ||
|
@@ -59,14 +57,14 @@ jobs: | |
env: | ||
API_URL: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.api-url || secrets.HUB_API_URL }} | ||
run: > | ||
poetry run python utility_scripts/api/make_files.py | ||
uv run python utility_scripts/api/make_files.py | ||
-o _hub_api | ||
--hub-url ${{ env.HUB_URL }} | ||
--api-url ${{ env.API_URL }} | ||
- name: Test API Schema | ||
run: > | ||
poetry run python utility_scripts/api/api_schema_validate.py | ||
uv run python utility_scripts/api/api_schema_validate.py | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,24 +23,18 @@ jobs: | |
python-version: 3.9 | ||
architecture: x64 | ||
|
||
- name: Upgrade pip | ||
run: | | ||
pip install pip poetry | ||
pip --version | ||
poetry --version | ||
- name: Poetry install | ||
run: | | ||
poetry install | ||
- uses: astral-sh/[email protected] | ||
with: | ||
version: ~=0.5.27 | ||
|
||
- name: Plugin definition schema validation | ||
run: | | ||
poetry run python utility_scripts/plugin_definitions/plugin_schema_validate.py | ||
uv run python utility_scripts/plugin_definitions/plugin_schema_validate.py | ||
- name: Validate plugin names | ||
run: | | ||
poetry run python utility_scripts/plugin_definitions/yaml_check_names.py | ||
uv run python utility_scripts/plugin_definitions/yaml_check_names.py | ||
- name: Validate maintainers | ||
run: | | ||
poetry run python utility_scripts/plugin_definitions/maintainers_validate.py | ||
uv run python utility_scripts/plugin_definitions/maintainers_validate.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,20 +23,14 @@ jobs: | |
python-version: 3.9 | ||
architecture: x64 | ||
|
||
- name: Upgrade pip | ||
run: | | ||
pip install pip poetry | ||
pip --version | ||
poetry --version | ||
- name: Poetry install | ||
run: | | ||
poetry install | ||
- uses: astral-sh/[email protected] | ||
with: | ||
version: ~=0.5.27 | ||
|
||
- name: Get invalid URLs | ||
id: urls | ||
run: | | ||
output=$(poetry run python utility_scripts/plugin_definitions/check_links.py) | ||
output=$(uv run python utility_scripts/plugin_definitions/check_links.py) | ||
echo "INVALID_URL<<EOF" >> $GITHUB_ENV | ||
echo "$output" >> $GITHUB_ENV | ||
echo "EOF" >> $GITHUB_ENV | ||
|
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
[tool.poetry] | ||
package-mode = false | ||
[project] | ||
name = "meltano-hub" | ||
version = "0.0.1" | ||
description = "Meltano hub contains the definition of all meltano taps, targets, utilities, etc." | ||
authors = ["Meltano Team"] | ||
authors = [{ name = "Meltano Team" }] | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"jsonschema>=4.17.3,<4.18", | ||
"ruamel.yaml>=0.18.6", | ||
"yamllint>=1.35.1", | ||
"requests>=2.32.3", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9" | ||
jsonschema = ">=4.17.3,<4.18" | ||
"ruamel.yaml" = ">=0.18.6" | ||
yamllint = ">=1.35.1" | ||
requests = ">=2.32.3" | ||
[dependency-groups] | ||
dev = ["ruff>=0.9"] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
ruff = ">=0.9" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
[tool.uv] | ||
package = false |
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
Oops, something went wrong.