Skip to content

ci: Set up AppMap

ci: Set up AppMap #37

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 0 * * 0'
permissions:
contents: write
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: 'wget https://github.com/docker/compose/releases/download/v2.22.0/docker-compose-linux-x86_64'
- run: 'sudo mv docker-compose-linux-x86_64 /usr/libexec/docker/cli-plugins/docker-compose'
- run: 'sudo chmod +x /usr/libexec/docker/cli-plugins/docker-compose'
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Install AppMap tools
id: install-appmap
uses: getappmap/install-action@v1
with:
project-type: gradle
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "ci: Add AppMap language agent and appmap.yml"
- name: Maven Test
run: ./mvnw test
# Begin AppMap bootstrap archive step
- name: Archive AppMaps
id: appmap-bootstrap-archive-appmaps
uses: getappmap/archive-action@v1
with:
revision: ${{ github.event.pull_request.base.sha }}
# End AppMap bootstrap archive step