Skip to content

fixed mpi4py issue

fixed mpi4py issue #9

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
python-version: [ 3.9, '3.10' ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# if OS == linux do the following
if: runner.os == 'Linux'
- name: Install OpenMPI

Check failure on line 27 in .github/workflows/unit_test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unit_test.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
run: |
sudo apt-get update
sudo apt-get install -y openmpi-bin openmpi-common libopenmpi-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
pip install pytest-cov
- name: Test with pytest
run: |
pytest --cov=fedcore -s tests/unit
# - name: Codecov-coverage
# uses: codecov/codecov-action@v4
# with:
# token: ${{ secrets.CODECOV_TOKEN }}