Skip to content

Commit

Permalink
Created maio adapter GitHub Actions workflow to run unit tests when u…
Browse files Browse the repository at this point in the history
…pdating the code.

PiperOrigin-RevId: 686191635
  • Loading branch information
Mobile Ads Developer Relations authored and copybara-github committed Oct 15, 2024
1 parent a18b7a6 commit 6b1a080
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/maio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: maio

on:
pull_request:
paths:
- "ThirdPartyAdapters/maio/**"
- ".github/workflows/maio.yaml"
push:
branches:
- main

jobs:
android:
runs-on: macos-latest
if: github.event_name == 'pull_request'
timeout-minutes: 30
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: "Install Gradle"
run: |
brew install gradle
- name: "Unit Tests"
run: |
cd ThirdPartyAdapters/maio/
gradle wrapper
./gradlew test --scan

0 comments on commit 6b1a080

Please sign in to comment.