Skip to content

Run Tests

Run Tests #1

Workflow file for this run

name: Run Tests
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
run-tests:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
MODULAR_HOME: "/home/runner/.modular"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install mojo
run: |
curl -s https://get.modular.com | sh -
modular install mojo
echo "/home/runner/.modular/pkg/packages.modular.com_mojo/bin:$PATH" >> $GITHUB_PATH
- name: tests
run: |
mojo test -I .