Skip to content

Bump version to release ILA #1020

Bump version to release ILA

Bump version to release ILA #1020

Workflow file for this run

name: Build and Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.200
- name: Restore tools
run: dotnet tool restore
- name: Install dependencies
run: dotnet restore
- name: Check formatting
run: |
dotnet fantomas Oryx.Cognite/src/ ./CogniteSdk.FSharp/src --check
dotnet format --include ./CogniteSdk.Types ./CogniteSdk/src ./CogniteSdk/test/csharp/ --verify-no-changes --no-restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: ./test.sh
env:
TEST_HOST_WRITE: "https://greenfield.cognitedata.com"
TEST_TENANT_ID_WRITE: ${{ secrets.TEST_TENANT_ID_WRITE }}
TEST_CLIENT_ID_WRITE: ${{ secrets.TEST_CLIENT_ID_WRITE }}
TEST_CLIENT_SECRET_WRITE: ${{ secrets.TEST_CLIENT_SECRET_WRITE }}
TEST_HOST_READ: "https://api.cognitedata.com"
TEST_TENANT_ID_READ: ${{ secrets.TEST_TENANT_ID_READ }}
TEST_CLIENT_ID_READ: ${{ secrets.TEST_CLIENT_ID_READ }}
TEST_CLIENT_SECRET_READ: ${{ secrets.TEST_CLIENT_SECRET_READ }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.lcov
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true