Skip to content

platform-api-tests #346

platform-api-tests

platform-api-tests #346

name: platform-api-tests
on:
# pull_request:
# branches: [ '*' ]
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
jobs:
platform-api-tests:
runs-on: macos-14
if: github.repository == 'apollographql/apollo-kotlin'
steps:
- name: Checkout project
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 #v4.2.1
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda #v3.4.2
- name: Run tests against the Apollo Platform API
env:
PLATFORM_API_TESTS_KEY: ${{ secrets.PLATFORM_API_TESTS_KEY }}
run: |
./gradlew --no-daemon -p tests :platform-api:platformApiTests