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 8, 2023
1 parent 8377863 commit 7c8314b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,46 @@ 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
mock-gh

0 comments on commit 7c8314b

Please sign in to comment.