Update example model in README.md #108
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "*" ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Julia environment | |
uses: julia-actions/setup-julia@v1.8.3 | |
- run: cd $GITHUB_WORKSPACE | |
- name: Run tests | |
run: julia --project=. -e "using Pkg; Pkg.instantiate(); Pkg.activate(\".\"); Pkg.test()" | |
- name: Install JuliaFormatter and format | |
run: | | |
julia -e 'import Pkg; Pkg.add("JuliaFormatter")' | |
julia -e 'using JuliaFormatter; out=format(".", verbose=true); out ? exit(0) : exit(1)' |