since new version: Flux throws error when for train! / update! even on quick start problem #6527
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: FluxBot | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
build: | |
if: contains(github.event.comment.body, '@ModelZookeeper') | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
julia-version: [1.5.0] | |
julia-arch: [x86] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/[email protected] # v1.0.0 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
- name: Install dependencies | |
run: julia --project=.fluxbot/ -e 'using Pkg; Pkg.instantiate()' | |
- name: FluxBot.respond | |
env: | |
FLUXBOT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BOT_SECRET: ${{ secrets.BOT_SECRET }} | |
MODELZOO_TRIGGER_TOKEN: ${{ secrets.MODELZOO_TRIGGER_TOKEN }} | |
run: julia --project=.fluxbot -e 'using FluxBot; FluxBot.trial()' |