Skip to content

Commit

Permalink
ignore model test
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarrero committed Aug 27, 2024
1 parent 4da93f2 commit 882c438
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 30 deletions.
55 changes: 26 additions & 29 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,34 @@ name: Build

on:
push:
branches:
- main
branches: [ master ]
pull_request:
branches:
- main

branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '1.8'
distribution: 'temurin'
- name: Run Mockoon CLI
uses: mockoon/cli-action@v2
with:
version: 'latest'
data-file: 'https://raw.githubusercontent.com/conekta/openapi/main/mocks/conekta_api.json'
port: 3000
- name: Build and test
run: |
./gradlew clean build
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '1.8'
distribution: 'temurin'
- name: Run Mockoon CLI
uses: mockoon/cli-action@v2
with:
version: 'latest'
data-file: 'https://raw.githubusercontent.com/conekta/openapi/main/mocks/conekta_api.json'
port: 3000
- name: Build and test
run: |
./gradlew clean build
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: app
path: app/build/outputs/apk/debug/app-debug.apk
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: app
path: app/build/outputs/apk/debug/app-debug.apk
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ android:
-g kotlin \
-o /local \
-c /local/config.json \
--global-property apiDocs=true --global-property apiTests=true
--global-property apiDocs=true,apiTests=true,modelTests=false

0 comments on commit 882c438

Please sign in to comment.