Skip to content

Generate structures for working with units #31

Generate structures for working with units

Generate structures for working with units #31

Workflow file for this run

name: Pull actions
on:
pull_request:
jobs:
python-tests:
runs-on: "ubuntu-latest"
name: Run Python tests
env:
WORKING_DIRECTORY: "python"
steps:
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
python -m pip install --upgrade pip
python -m pip install --editable ./src/unece_excel_parser[dev]
- name: Test with pytest
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
pytest
dotnet-tests:
runs-on: "ubuntu-latest"
name: Run .NET tests
env:
WORKING_DIRECTORY: "dotnet"
steps:
- uses: actions/checkout@v4
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.100"
- name: Install dependencies
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
dotnet restore
- name: Test with dotnet test
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
dotnet test