Skip to content

Update protobuf and grpc tools in C# lib #14

Update protobuf and grpc tools in C# lib

Update protobuf and grpc tools in C# lib #14

Workflow file for this run

on: [push]
name: "Tests and validation"
jobs:
python-tests:
name: Python unit and integration tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
miniforge-version: latest
- name: Install narupa dependancies
run: conda install mpi4py openmm
- name: Install tests dependancies
run: python -m pip install -r python-libraries/requirements.test
- name: Compile
run: ./compile.sh --no-dotnet
- name: Parallel tests
run: python -m pytest --cov narupa python-libraries -n auto -m 'not serial'
- name: Serial tests
run: python -m pytest --cov narupa python-libraries -n auto -m 'serial'
csharp-tests:
name: C# unit and integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '2.1.x'
- name: Compile
run: ./compile.sh --no-python
- name: Tests
run: cd ./csharp-libraries && dotnet test