Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use dynamic versioning

Use dynamic versioning #68

Workflow file for this run

name:Python LocalStack Client / Run Test
on:
pull_request:
paths:
-.github/workflows/test.yml
-localstack-sdk-python/**
-tests/**
-packages/**
push:
branches:
-main
workflow_dispatch:
jobs:
test_python:
runs-on:ubuntu-latest
steps:
-name:Checkout
uses:actions/checkout@v4
-name:Set up Python 3.11
uses:actions/setup-python@v5
with:
python-version:"3.11"
-name:Install uv
uses:astral-sh/setup-uv@v3
-name:Install project
run:|
make install-dev
-name:Install LocalStack
run:|
pip install --pre --upgrade localstack
-name:Pull image
run:|
docker pull localstack/localstack-pro
-name:Start Localstack
env:
LOCALSTACK_AUTH_TOKEN:${{ secrets.LOCALSTACK_AUTH_TOKEN }}
run:|
source .venv/bin/activate
DEBUG=1 DISABLE_EVENTS="1" IMAGE_NAME="localstack/localstack-pro:latest" localstack start -d
localstack wait -t 120 || (python -m localstack.cli.main logs && false)
-name:Run Python Tests
env:
LOCALSTACK_AUTH_TOKEN:${{ secrets.LOCALSTACK_AUTH_TOKEN }}
run:|
make test
-name:Stop Localstack
if:always()
run:|
source .venv/bin/activate
localstack logs
localstack stop

[8]ページ先頭

©2009-2025 Movatter.jp