8000 Migrate full-run integration tests from CircleCI to GH Actions except… · localstack/localstack@940aa0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 940aa0a

Browse files
authored
Migrate full-run integration tests from CircleCI to GH Actions except docker push and push of all artifacts (#12545)
1 parent 7a29f27 commit 940aa0a

File tree

4 files changed

+729
-2
lines changed

4 files changed

+729
-2
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 'Load Localstack Docker image'
2+
description: 'Composite action that loads a LocalStack Docker image from a tar archive stored in GitHub Workflow Artifacts into the local Docker image cache'
3+
inputs:
4+
platform:
5+
required: false
6+
description: Target architecture for running the Docker image
7+
default: "amd64"
8+
runs:
9< 8000 span class="diff-text-marker">+
using: "composite"
10+
steps:
11+
- name: Download Docker Image
12+
uses: actions/download-artifact@v4
13+
with:
14+
name: localstack-docker-image-${{ inputs.platform }}
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version-file: '.python-version'
20+
cache: 'pip'
21+
cache-dependency-path: 'requirements-dev.txt'
22+
23+
- name: Install docker helper dependencies
24+
shell: bash
25+
run: pip install --upgrade setuptools setuptools_scm
26+
27+
- name: Load Docker Image
28+
shell: bash
29+
run: bin/docker-helper.sh load
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'Setup Test Environment'
2+
description: 'Composite action which combines all steps necessary to setup the runner for test execution'
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Set up Python
7+
uses: actions/setup-python@v5
8+
with:
9+
python-version-file: '.python-version'
10+
cache: 'pip'
11+
cache-dependency-path: 'requirements-dev.txt'
12+
13+
- name: Install Community Dependencies
14+
shell: bash
15+
run: make install-dev
16+
17+
- name: Setup environment
18+
shell: bash
19+
run: |
20+
make install
21+
mkdir -p target/reports
22+
mkdir -p target/coverage

0 commit comments

Comments
 (0)
0