Skip to content

Add example

Add example #237

Workflow file for this run

on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest]
# os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
# runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "install_nim"
id: install_nim
uses: iffy/install-nim@v3.2.2
- name: "install_julia"
id: install_julia
uses: julia-actions/setup-julia@latest
with:
show-versioninfo: 'true'
- run: nimble install -y
env:
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..
- run: nimble test
env:
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..
- run: nimble runexamples
env:
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..