Skip to content

Commit

Permalink
chore: ci 자동화 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
briandr97 committed Jul 27, 2023
1 parent 446be79 commit a575e29
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 54 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: NAAGA ANDROID CI1
name: NAAGA ANDROID CI

on:
push:
branches:
- 'feat/**'
pull_request:
branches: [ develop ]

defaults:
run:
working-directory: ./android
branches: [ dev ]

jobs:
ktlint:
name: Run ktlint check
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./android
steps:
- uses: actions/checkout@v3

Expand All @@ -37,11 +36,14 @@ jobs:
run: chmode +x gradlew

- name: Run ktlint
run: ./android/gradlew ktlintCheck
run: ./gradlew ktlintCheck

build:
name: build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./android
steps:
- uses: actions/checkout@v3

Expand All @@ -64,11 +66,14 @@ jobs:
run: chmode +x gradlew

- name: Run Build
run: ./android/gradlew assembleDebug
run: ./gradlew assembleDebug

test:
name: test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./android
steps:
- uses: actions/checkout@v3

Expand All @@ -91,4 +96,4 @@ jobs:
run: chmode +x gradlew

- name: Run Build
run: ./android/gradlew testDebugUnitTest
run: ./gradlew testDebugUnitTest
45 changes: 0 additions & 45 deletions .github/workflows/android_ci2.yml.txt

This file was deleted.

0 comments on commit a575e29

Please sign in to comment.