Update protobuf and grpc tools in C# lib #14
Workflow file for this run
This file contains 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
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 |