Skip to content

Commit

Permalink
add solidblocks-do-pythong
Browse files Browse the repository at this point in the history
  • Loading branch information
pellepelster committed Feb 11, 2025
1 parent 53948c1 commit 52607ee
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 3 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
- 'v[0-9]+.[0-9]+.[0-9]+-pre[0-9]*'

env:
SKIP_TESTS: ${{ contains(github.event.head_commit.message, '#skip-tests') || contains(github.event.ref, '-pre') }}
#SKIP_TESTS: ${{ contains(github.event.head_commit.message, '#skip-tests') || contains(github.event.ref, '-pre') }}
SKIP_TESTS: true

concurrency:
group: solidblocks
Expand Down Expand Up @@ -125,6 +126,26 @@ jobs:
solidblocks-shell/build/solidblocks-shell-*.zip
solidblocks-shell/build/snippets/*
solidblocks-do-python:
runs-on: ubuntu-latest
steps:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: solidblocks-do-python/do build
- name: Test Integration
run: solidblocks-do-python/do test
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: solidblocks-do-python
path: |
solidblocks-do-python/dist/solidblocks_do*
solidblocks-shell-test:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -463,6 +484,7 @@ jobs:
- solidblocks-minio
- solidblocks-rds-postgresql
- solidblocks-cli
- solidblocks-do-python
- solidblocks-cli-test
- solidblocks-rds-postgresql-test
- solidblocks-hetzner
Expand Down
162 changes: 161 additions & 1 deletion solidblocks-do-python/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion solidblocks-do-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"colorlog==6.9.0",
"semver==3.0.2"
"semver==3.0.2",
"1password==1.1.3"
]

[tool.poetry.group.test.dependencies]
Expand Down
Binary file modified solidblocks-do-python/tests/secrets/foo.gpg
Binary file not shown.
Binary file modified solidblocks-do-python/tests/secrets/test/some/password.gpg
Binary file not shown.
Binary file not shown.

0 comments on commit 52607ee

Please sign in to comment.