Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/documentation-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
python -m pytest ../
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading