Mikey Tran
Update ci.yml
6921680 unverified
raw
history blame contribute delete
788 Bytes
name: Continuous Integration
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: iterative/setup-cml@v2
with:
version: 'v0.20.0'
vega: false
- name: Install packages
run: make install
- name: Format
run: make format
- name: Train
run: make train
- name: Evaluation
env:
REPO_TOKEN : '${{ secrets.TOKEN }}'
run: make eval
- name: Update Branch
env:
NAME : '${{ secrets.USER_NAME }}'
EMAIL : '${{ secrets.USER_EMAIL }}'
run: make update-branch USER_NAME=$NAME USER_EMAIL=$EMAIL