Skip to content

Commit

Permalink
updating pypi workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gbomarito committed Sep 23, 2024
1 parent 6a869a7 commit a0a9cde
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.12
- name: Install MPI
run: |
sudo apt-get update
sudo apt-get install -y mpich libmpich-dev
uses: mpi4py/setup-mpi@v1
- name: Build using pip
run: |
pip install .
- name: Set safe forking var
run: |
echo "RDMAV_FORK_SAFE=1" >> $GITHUB_ENV
- name: Run tests (use pip instead of repo)
run: |
cd ..
Expand All @@ -36,17 +37,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.12
- name: Install MPI
run: |
sudo apt-get update
sudo apt-get install -y mpich libmpich-dev
uses: mpi4py/setup-mpi@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- name: Set pythonpath
run: |
echo "PYTHONPATH=`pwd`" >> $GITHUB_ENV
echo "RDMAV_FORK_SAFE=1" >> $GITHUB_ENV
- name: Set safe forking var
run: |
Expand Down

0 comments on commit a0a9cde

Please sign in to comment.