chore: link to how to add a new example in the contributing guide #1
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 Nada Test on PR | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Install Nillion | |
run: | | |
curl https://nilup.nilogy.xyz/install.sh | bash | |
# Add nilup to PATH | |
echo "$HOME/.nilup/bin" >> $GITHUB_PATH | |
# Verify nilup is installed | |
nilup --version | |
# Install and use the latest version | |
nilup install latest | |
nilup use latest | |
# Verify nillion is installed | |
nillion --version | |
- name: Run tests | |
run: | | |
nada test |