diff --git a/.github/workflows/documentation-build.yml b/.github/workflows/documentation-build.yml index a2e57202..a39f8c6d 100644 --- a/.github/workflows/documentation-build.yml +++ b/.github/workflows/documentation-build.yml @@ -41,12 +41,9 @@ jobs: - name: Install dependencies run: | - pixi install -e docs - pixi run -e docs install-dev - - - name: Build documentation - run: pixi run -e docs docs-build - + sudo apt install pandoc + python -m pip install sphinx==8.1.3 + python -m pip install . '.[dev,docs]' - name: Build and Commit uses: sphinx-notes/pages@master with: diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index e1a0adc2..e84525d0 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -55,13 +55,12 @@ jobs: post-cleanup: false - name: Install dependencies - run: pixi install - - - name: Install package in development mode - run: pixi run install-dev + run: python -m pip install -e '.[dev]' - name: Test with pytest and coverage - run: pixi run test-cov + run: | + python -m pip install tox tox-gh-actions coverage + python -m tox - name: Upload coverage reports to Codecov # only on ubuntu to avoid multiple uploads @@ -94,11 +93,10 @@ jobs: - name: Install dependencies and build run: | - pixi install - pixi run install-dev - pixi run build + python -m pip install -e '.[dev]' + python -m build - name: Check Build run: | cd ./dist - pixi run test \ No newline at end of file + python -m pytest ../ diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 556d1316..b27950e3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,12 +29,12 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies and build run: | - pip install -e '.[dev]' + python -m pip install -e '.[dev]' python -m build - name: Test with pytest run: | cd ./dist - pytest ../ + python -m pytest ../ - uses: actions/upload-artifact@v4 with: name: EasyReflectometrys - Python ${{ matrix.python-version }} diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 79007b8e..f6beb417 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -36,9 +36,8 @@ jobs: - name: Install dependencies and build run: | - pixi install - pixi run install-dev - pixi run build + python -m pip install -e '.[dev]' + python -m build - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1