Skip to content

CI

CI #883

Workflow file for this run

name: CI
on:
pull_request:
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs:
# Make sure we only invoke known gradle-wrapper.jar files
gradleValidation:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
linux:
needs: gradleValidation
runs-on: ubuntu-latest
env:
LOCAL_ENV_RUN: true
steps:
- name: Fetch Sources
uses: actions/checkout@v2
- name: Setup .NET CLI
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Build
shell: bash
working-directory: rider
run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} buildPlugin
- name: Tests
shell: bash
working-directory: rider
run: ./gradlew -PBuildConfiguration=Release -PbuildNumber=${{ github.run_number }} test
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}.test-results
path: build/reports/tests
if: ${{ always() }}
- name: Upload Test Logs
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}.test-logs
path: build/idea-sandbox/system-test/log
if: ${{ always() }}