updating readme #40
This file contains hidden or 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: DSITest | |
| env: | |
| TF_ENABLE_ONEDNN_OPTS: 0 | |
| on: | |
| push: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10','3.11'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Test Environment | |
| run: | | |
| python -m pip install --upgrade pip | |
| sudo apt-get install libglu1-mesa-dev xvfb | |
| python -m pip install pytest pytest-xvfb | |
| - name: Dependencies | |
| run: | | |
| python -m pip install . | |
| - name: Test execution | |
| run: | | |
| python examples/dsi/DSITestCreateSingle.py | |
| python examples/dsi/DSITestCreateEnsemble.py | |
| - name: Test results | |
| run: | | |
| python -m pytest -s testing/DSITest.py | |
| macos: | |
| strategy: | |
| matrix: | |
| python-version: ['3.10','3.11'] | |
| os-version: [macos-13, macos-14, macos-15] | |
| runs-on: ${{ matrix.os-version }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools | |
| python -m pip install pytest | |
| python -m pip install . | |
| - name: Test execution | |
| run: | | |
| python examples/dsi/DSITestCreateSingle.py | |
| python examples/dsi/DSITestCreateEnsemble.py | |
| - name: Test results | |
| run: | | |
| python -m pytest -s testing/DSITest.py | |
| windows: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10','3.11'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 | |
| release: false | |
| install: mingw-w64-x86_64-mesa | |
| - name: Test Environment | |
| shell: pwsh | |
| run: | | |
| $env:GLCONTEXT_WIN_LIBGL = "C:\msys64\mingw64\bin\opengl32.dll" | |
| - name: Dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools | |
| python -m pip install pytest | |
| python -m pip install . | |
| - name: Test execution | |
| run: | | |
| python examples/dsi/DSITestCreateSingle.py | |
| python examples/dsi/DSITestCreateEnsemble.py | |
| - name: Test results | |
| run: | | |
| python -m pytest -s testing/DSITest.py |