Ensure GPU URL before writing override configuration (#156) #331
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: "Test CLI Tool on Multiple Platforms" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: "Run Tests on Multiple Platforms" | |
runs-on: ${{ matrix.os }} | |
env: | |
PYTHONIOENCODING: "utf8" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ["3.9"] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install -e . | |
- name: Test e2e | |
env: | |
PYTHONPATH: ${{ github.workspace }} | |
TEST_E2E: true | |
run: | | |
pytest tests/e2e |