-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add config and templateDir tags (#41)
* Add config and templateDir tags * Remove unused print * Add CI * Add CI and test
- Loading branch information
1 parent
fb7e302
commit 64d17b3
Showing
7 changed files
with
85 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
# virtual environments: https://github.com/actions/virtual-environments | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
# Caches and restores the bazelisk download directory. | ||
- name: Cache bazelisk download | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: bazel-cache | ||
with: | ||
path: ~/.cache/bazelisk | ||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ env.cache-name }}-development | ||
# Checks-out your repository under $GITHUB_WORKSPACE, which is the CWD for | ||
# the rest of the steps | ||
- uses: actions/checkout@v2 | ||
|
||
# Build | ||
- name: Build all target | ||
run: | | ||
cd internal/test | ||
bazel build //... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# openapi-generator configuration | ||
--- | ||
generatorName: python-flask | ||
packageName: openapi.bazel.test | ||
enablePostProcessFile: false | ||
globalProperties: | ||
skipFormModel: false | ||
additionalProperties: | ||
generated: generated | ||
packageRoot: openapi.bazel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @{{generated}} | ||
|
||
GENERATOR_CHECKSUM = '{{generatorChecksum}}' |