Fix issues #224 and #225: Parallel Documentation and add Unit Tests #202
Workflow file for this run
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: "Testing Pull Request" | |
| on: | |
| pull_request: | |
| branches: | |
| - "master" | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest, macos-latest, ubuntu-latest] | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| env: | |
| CFLAGS: "-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" | |
| CXXFLAGS: "-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up Java for PyCOMPSs | |
| if: runner.os != 'Windows' | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '8' | |
| - name: Install Python dependencies | |
| shell: bash | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| if [ "$RUNNER_OS" != "Windows" ]; then python3 -m pip install pycompss --no-build-isolation; fi | |
| python3 -m pip install .[test] | |
| - name: Test with pytest | |
| shell: bash | |
| run: | | |
| if [ "$RUNNER_OS" == "Windows" ]; then python3 -m pytest --ignore=tests/test_parallel/; else python3 -m pytest; fi |