diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index df10f517..45d9d024 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -71,18 +71,17 @@ jobs: setup_test: name: Run setup test runs-on: ubuntu-latest - container: precice/ci-ubuntu-1804 steps: - name: Checkout Repository uses: actions/checkout@v2 - - name: Install & upgrade pip3 + - name: Install & upgrade pip3 and install OpenMPI run: | - apt-get -yy update - apt-get install -y python3-pip - rm -rf /var/lib/apt/lists/* + sudo apt-get -yy update + sudo apt-get install -y python3-pip libopenmpi-dev + sudo rm -rf /var/lib/apt/lists/* pip3 install --upgrade --user pip - name: Checkout precice and make required files discoverable - run: | + run: | git clone https://github.com/precice/precice.git precice-core mkdir -p precice cp precice-core/src/precice/SolverInterface.hpp precice/SolverInterface.hpp diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1d4f4376..00000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -language: python -dist: trusty -os: linux - -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-6 - - libopenmpi-dev - - openmpi-bin - -jobs: - include: - - name: "Mock Test Python Bindings" - cache: false - before_install: - - pyenv global $(pyenv whence 2to3) # activate all python versions - - PYTHONPATH="" - - PY_CMD=python3 - - $PY_CMD -m pip install --upgrade pip wheel setuptools - install: - - pip3 install cython numpy mpi4py packaging - script: - - git clone https://github.com/precice/precice.git precice-core # use --branch $TRAVIS_BRANCH to select the proper branch especially master/develop - - export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$TRAVIS_BUILD_DIR/precice-core/src - - python3 setup.py test diff --git a/README.md b/README.md index 193a3c54..a1f1f112 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,6 @@ Python language bindings for the C++ library preCICE ---------------------------------------------------- - - Build status - - [![Upload Python Package](https://github.com/precice/python-bindings/workflows/Upload%20Python%20Package/badge.svg?branch=master)](https://pypi.org/project/pyprecice/) This package provides python language bindings for the C++ library [preCICE](https://github.com/precice/precice). Note that the first three digits of the version number of the bindings indicate the preCICE version that the bindings support. The last digit represents the version of the bindings. Example: `v2.0.0.1` and `v2.0.0.2` of the bindings represent versions `1` and `2` of the bindings that are compatible with preCICE `v2.0.0`.