Skip to content

ci: Set up AppMap

ci: Set up AppMap #117

Workflow file for this run

name: Main
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests
run: bundle exec rails test
- name: Install AppMap tools
id: install-appmap
uses: getappmap/install-action@v1
with:
directory: ${{ inputs.directory }}
install-appmap-library: false
- name: Analyze AppMaps
uses: getappmap/analyze-action@fix/summary-report-source-link
if: github.event_name == 'pull_request'
with:
directory: ${{ inputs.directory }}
base-revision: ${{ github.event.pull_request.base.sha }}
head-revision: ${{ github.event.pull_request.head.sha }}
project-summary: true