Use Azure Open AI package to generate cases for model (#176) #420
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
name: models | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.x | |
- name: create models | |
run: cd ml.net/InclusiveCodeReviews.Convert && dotnet run | |
- name: npm install | |
run: cd onnxjs && npm install | |
- name: npm test | |
run: cd onnxjs && npm test | |
- name: archive models | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: models | |
path: bin | |
if-no-files-found: error |