flux: use rank 0 for h100 detection since that is the most realistic setup #2966
Workflow file for this run
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: Python Unit Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maximize build space | |
uses: AdityaGarg8/remove-unwanted-software@v4.1 | |
with: | |
remove-android: 'true' | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Install Poetry | |
run: python -m pip install --upgrade pip poetry | |
- name: Install Dependencies | |
run: poetry -C install/apple install | |
- name: Run Tests | |
run: poetry -C install/apple run python -m unittest discover tests/ |