Setup AppMap Analysis #2
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
name: AppMap Analysis | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
# Install AppMap library and tools | |
- name: Enable appmap gem update | |
run: bundle config unset deployment | |
- name: Install AppMap tools | |
uses: getappmap/[email protected] | |
with: | |
project-type: bundler # Choose the type of your project here: | |
# bundler, maven, gradle, pip, pipenv, poetry, | |
# yarn, npm, etc. | |
#################################################################### | |
# Put the commands required to run your application test suite. | |
# For example, create and setup the test database, commands | |
# to run your test suite. | |
- name: Run tests | |
run: bundle exec rails test | |
- name: Archive AppMaps | |
uses: getappmap/[email protected] | |
with: | |
revision: ${{ github.event.pull_request.base.sha }} |