feat: add spring-seata-dubbo-saga e2e case #118
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
# For most projects, this workflow file will not need changing; you simply need | |
# to commit it to your repository. | |
# | |
# You may wish to alter this file to override the set of languages analyzed, | |
# or to provide custom queries or build logic. | |
# | |
# ******** NOTE ******** | |
# We have attempted to detect the languages in your repository. Please check | |
# the `language` matrix defined below to confirm you have the correct set of | |
# supported CodeQL languages. | |
# | |
name: "Seata E2E Test" | |
on: [ push,pull_request ] | |
jobs: | |
run_e2e: | |
name: Run E2E Test ${{ matrix.java }}, ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
java: [ 8, 11 ] | |
fail-fast: false | |
max-parallel: 2 | |
steps: | |
- name: Uninstall Docker Compose v2 | |
run: sudo rm -f /usr/local/bin/docker-compose | |
- name: Install Docker Compose v1 | |
run: | | |
DOCKER_COMPOSE_VERSION=1.29.2 | |
sudo curl -L "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
- name: Verify Docker Compose v1 installation | |
run: docker-compose --version | |
- name: Check out code into | |
uses: actions/checkout@v3 | |
- name: Clone skywalking e2e repository | |
run: git clone https://github.com/apache/skywalking-infra-e2e.git skywalking-infra-e2e | |
- name: Set up Go 1.18 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18 | |
id: go | |
- name: Build e2e framework (use skywalking-infra-e2e v1.3.0) | |
run: | | |
cd skywalking-infra-e2e && git checkout 1485ae03f0ad90496ad7626a5ae4a6a73a1f6296 && make linux | |
- name: Add script directory to PATH | |
run: | | |
cd skywalking-infra-e2e/bin/linux | |
echo "export PATH=$PATH:$(pwd)" >> $GITHUB_PATH | |
chmod 777 e2e | |
cp e2e /usr/local/bin | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
- name: prepare e2e tests | |
run: | | |
cd e2e-test/scripts && sh prepare-test.sh | |
- name: run e2e tests | |
run: | | |
cd e2e-test/scripts && sh test-run.sh |