diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5877198b..0da1d132 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: args: -i python --release --out dist --sdist --manifest-path cramjam-python/Cargo.toml - name: Install built wheels - x86_64 run: | - pip install cramjam --no-index --find-links dist --force-reinstall + pip install cramjam[dev] --pre --no-index --find-links dist --force-reinstall pip install cramjam-cli --no-index --find-links dist --force-reinstall - name: Build wheels - universal2 if: ${{ matrix.python-version >= '3.8' || contains(fromJson('["3.10", "3.11", "3.12"]'), matrix.python-version) }} @@ -55,15 +55,12 @@ jobs: - name: Install built wheels - universal2 if: ${{ matrix.python-version >= '3.8' || contains(fromJson('["3.10", "3.11", "3.12"]'), matrix.python-version) }} run: | - pip install cramjam --no-index --find-links dist --force-reinstall + pip install cramjam[dev] --pre --no-index --find-links dist --force-reinstall pip install cramjam-cli --no-index --find-links dist --force-reinstall - name: Python UnitTest - cramjam-cli - run: | - pip install pytest numpy hypothesis - python -m pytest cramjam-cli -vs --ignore **/benchmarks + run: python -m pytest cramjam-cli -vs --ignore **/benchmarks - name: Python UnitTest - cramjam-python - run: | - python -m pytest cramjam-python -vs --ignore **/benchmarks + run: python -m pytest cramjam-python -vs --ignore **/benchmarks - name: Upload wheels uses: actions/upload-artifact@v3 with: @@ -102,7 +99,7 @@ jobs: - name: Install built wheel run: | pip install cramjam-cli --no-index --find-links dist --force-reinstall - pip install cramjam[dev] --find-links dist --force-reinstall + pip install cramjam[dev] --pre --find-links dist --force-reinstall - name: Python UnitTest - cramjam-python run: | python -m pytest cramjam-python -vs --ignore cramjam-python\benchmarks @@ -149,7 +146,7 @@ jobs: - name: Python UnitTest - cramjam-python if: matrix.target == 'x86_64' run: | - pip install cramjam[dev] --find-links dist --force-reinstall + pip install cramjam[dev] --pre --find-links dist --force-reinstall python -m pytest cramjam-python -vs --ignore **/benchmarks - name: Python UnitTest - cramjam-cli if: matrix.target == 'x86_64' @@ -264,9 +261,8 @@ jobs: # TODO: I'm not sure but the actual collection of tests on windows using pypy3.10 takes forever and/or fails if: ${{ matrix.python != 'pypy-3.10' && matrix.platform.os != 'windows-latest' }} run: | - pip install cramjam[dev] --find-links dist --force-reinstall - cd cramjam-python - python -m pytest tests -v + pip install cramjam[dev] --pre --find-links dist --force-reinstall + python -m pytest cramjam-python -vs --ignore **/benchmarks - name: cramjam-cli test if: ${{ matrix.platform.os != 'windows-latest' }} run: |