Skip to content

Commit

Permalink
Merge pull request #501 from ISISNeutronMuon/maciej/pip-install-test
Browse files Browse the repository at this point in the history
Add a test for pip install MDANSE_GUI
  • Loading branch information
ChiCheng45 authored Jul 17, 2024
2 parents 2354809 + aab0730 commit bfc48e6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/test_pip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test pip install MDANSE_GUI

on:
pull_request:
schedule:
- cron: "0 0 * * *"

jobs:
test:
name: Install MDANSE_GUI on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
if: |
!contains( github.ref, 'legacy' )
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: install MDANSE
run: (cd MDANSE && python -m pip install .)

- name: install MDANSE_GUI
run: (cd MDANSE_GUI && python -m pip install .)
1 change: 0 additions & 1 deletion MDANSE_GUI/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ dependencies = [
"qtpy",
"vtk",
"PyQt6",
"pyqt6-tools",
"PyYAML",
]

Expand Down

0 comments on commit bfc48e6

Please sign in to comment.