This repository has been archived by the owner on Feb 14, 2025. It is now read-only.
add max dep #176
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: Run Tests | |
on: ["push"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
environment: basic | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
curl https://get.modular.com | MODULAR_AUTH=${{ secrets.MODULAR_AUTH }} sh - | |
modular auth ${{ secrets.MODULAR_AUTH }} | |
modular install mojo | |
- name: Unit Tests | |
run: | | |
export MODULAR_HOME="/home/runner/.modular" | |
export PATH="/home/runner/.modular/pkg/packages.modular.com_mojo/bin:$PATH" | |
bash scripts/run_tests.sh |