Skip to content

Commit

Permalink
ci: execute integration test on every pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-seifert committed Dec 7, 2023
1 parent 363a122 commit 7c8c5d9
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,45 @@ jobs:
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}

integration-test:

strategy:
matrix:
os:
- ubuntu-latest
java-version:
- 11
- 17
- 21

runs-on: ${{ matrix.os }}

steps:

- uses: actions/checkout@v4

- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: corretto
cache: maven

- name: Bring up Skyramp worker
run: >
docker run
--detach
--restart always
-p8081:8081
-p35142:35142
--volume worker:/etc/skyramp
public.ecr.aws/j1n2c2p2/rampup/worker:latest
- name: Install Skyramp
run: bash -c "$(curl -fsSL https://skyramp.dev/installer.sh)"

- name: Apply Skyramp mock configurations
run: >
skyramp mocker apply
--address localhost:35142
--path skyramp

0 comments on commit 7c8c5d9

Please sign in to comment.