name: Run Tests on: - push - workflow_dispatch permissions: {} jobs: test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # was: actions/checkout@v6 - name: Install run: | sudo apt-get install sox ninja-build - name: Build run: | cmake -S. -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug cmake --build build - name: Run tests run: | cmake --build build --target check test-fixed: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # was: actions/checkout@v6 - name: Install run: | sudo apt-get install sox ninja-build - name: Build run: | cmake -S. -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFIXED_POINT=ON cmake --build build - name: Run tests run: | cmake --build build --target check python-tests: name: test with ${{ matrix.py }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: true matrix: py: - "3.14" - "3.8" os: - ubuntu-latest - ubuntu-24.04-arm - macos-latest - windows-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # was: actions/checkout@v6 - name: Setup python for test ${{ matrix.py }} uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # was: actions/setup-python@v6 with: python-version: ${{ matrix.py }} - name: Install sox if: ${{ startsWith(matrix.os, 'ubuntu') }} run: sudo apt-get install sox - name: Install pytest run: | python -m pip install --upgrade pip python -m pip install pytest memory_profiler python -m pip install . - name: Run tests run: pytest pytest-editable: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # was: actions/checkout@v6 - name: Install run: | sudo apt-get install sox python -m pip install --upgrade pip pip install pytest memory_profiler pip install -e . - name: Run tests run: pytest