Skip to content

Merge pull request #1 from Le-pingouin-en-securite/appmap-ci #15

Merge pull request #1 from Le-pingouin-en-securite/appmap-ci

Merge pull request #1 from Le-pingouin-en-securite/appmap-ci #15

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main", "Principal" ]
pull_request:
schedule:
- cron: '0 0 * * 0'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: cargar información del corredor
usos: devops-actions/load-runner-info@v1.0.9
with:
# Slug de la organización a analizar.
organización: # Le Pingouin en Sécurité
# Slug del repositorio a analizar.
repositorio: # palmera-esponjosa
# Token de acceso para usar en el análisis con admin:org o con el propietario del repositorio si lo ejecuta en un repositorio
token de acceso: 5420
- name: Run tests
run: ./gradlew appmap test
- name: Save AppMaps
uses: actions/cache/save@v3
if: always()
with:
path: ./tmp/appmap
key: appmaps-${{ github.sha }}-${{ github.run_attempt }}
appmap-analysis:
if: always()
needs: [ build ]
uses: getappmap/analyze-action/.github/workflows/appmap-analysis.yml@v1
permissions:
actions: read
contents: read
checks: write
pull-requests: write