-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored test build part into seperate action and added in feature …
…build only (for now).
- Loading branch information
Showing
2 changed files
with
21 additions
and
8 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,11 @@ | ||
name: test | ||
description: 'Test CrossModel' | ||
|
||
runs: # windows-2019 # is needed because the Setup Python task does not work with ubuntu | ||
using: 'composite' | ||
steps: | ||
- name: Yarn test | ||
uses: Amadevus/[email protected] | ||
with: | ||
script: | | ||
yarn test |
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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
name: feature | ||
|
||
on: | ||
push: | ||
branches: | ||
- feature/* | ||
push: | ||
branches: | ||
- feature/* | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2019 # is needed because the Setup Python task does not work with ubuntu | ||
steps: | ||
# Checkout the code. | ||
- name: check out # is needed to read the files on the root folder of the repo | ||
uses: actions/checkout@v3 | ||
# Use the build-addin action. | ||
- uses: ./.github/actions/build | ||
# Checkout the code. | ||
- name: check out # is needed to read the files on the root folder of the repo | ||
uses: actions/checkout@v3 | ||
# Use the build action. | ||
- uses: ./.github/actions/build | ||
# Use the test action. | ||
- uses: ./.github/actions/test |