Skip to content

tests: change only for cone-of-influence - temporary added Shakespear… #199

tests: change only for cone-of-influence - temporary added Shakespear…

tests: change only for cone-of-influence - temporary added Shakespear… #199

name: MPS-CLI_CI
on: [push, pull_request]
env:
GITHUB_TOKEN: ${{ secrets.MPSCLI_GITHUB_PKG_REGISTRY }}
jobs:
build_mps_cli:
runs-on: ubuntu-latest
env:
DISPLAY: ':99'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup headless environment
run: |
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
chmod 777 mps-cli-gradle-plugin/gradlew
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build MPS-CLI and Test
uses: gradle/gradle-build-action@v2
with:
arguments: :plugin:functionalTest --debug
wrapper-cache-enabled: true
dependencies-cache-enabled: true
dependencies-cache-key: gradle/dependency-locks/**
dependencies-cache-exact: true
configuration-cache-enabled: true
build-root-directory: mps-cli-gradle-plugin
- name: Publish
uses: gradle/gradle-build-action@v2
with:
arguments: :plugin:publish -Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }}
wrapper-cache-enabled: true
dependencies-cache-enabled: true
dependencies-cache-key: gradle/dependency-locks/**
dependencies-cache-exact: true
configuration-cache-enabled: true
build-root-directory: mps-cli-gradle-plugin