FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

matrix workflow fix mac pdffit2 install by Tieqiong · Pull Request #201 · diffpy/diffpy.pdfgui · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
13 changes: 10 additions & 3 deletions .github/workflows/matrix.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
python-version: ['3.10', '3.11', '3.12']
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
steps:
- name: check out test_workflow
- name: check out diffpy.pdfgui
uses: actions/checkout@v4

- name: Initialize miniconda
Expand All @@ -36,13 +36,20 @@ jobs:
conda config --set always_yes yes
--set changeps1 no

- name: Install test_workflow and requirements
- name: Install diffpy.pdfgui and requirements
run: |
conda install --file requirements/run.txt
conda install --file requirements/test.txt
python -m pip install -r requirements/pip.txt
python -m pip install . --no-deps

- name: Install latest diffpy.pdffit2 for Mac
if: runner.os == 'macos-latest'
run: |
conda uninstall diffpy.pdffit2
brew install gsl
pip install diffpy.pdffit2==1.4.4rc1

- name: Install Xvfb
if: runner.os == 'Linux'
run: sudo apt-get install -y xvfb
Expand All @@ -53,7 +60,7 @@ jobs:
export DISPLAY=:99
Xvfb :99 -screen 0 1024x768x16 &

- name: Validate test_workflow
- name: Validate diffpy.pdfgui
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
export DISPLAY=:99
Expand Down

Back | FazBrowse Home | New Git URL