Skip to content

Bump System.Text.Json from 5.0.1 to 8.0.4 in /src/deequ #220

Bump System.Text.Json from 5.0.1 to 8.0.4 in /src/deequ

Bump System.Text.Json from 5.0.1 to 8.0.4 in /src/deequ #220

Workflow file for this run

name: deequ.NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run-tests:
runs-on: ubuntu-latest
env:
DOTNET_WORKER_DIR: /usr/local/bin/
SPARK_RUNNER_DIR: /home/runner/bin/
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.404
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Scripts permissions
run: chmod +x deploy/install-worker.sh && chmod +x deploy/download-spark.sh
- name: Download OpenJDK
uses: sormuras/download-jdk@v1
with:
feature: 9
- name: Install Apache Spark
run: deploy/download-spark.sh $SPARK_RUNNER_DIR
- name: Install .NET Worker
run: deploy/install-worker.sh github https://github.com/dotnet/spark/releases/download/v1.0.0/Microsoft.Spark.Worker.netcoreapp3.1.linux-x64-1.0.0.tar.gz $DOTNET_WORKER_DIR
- name: Run tests
run: dotnet test --collect:"XPlat Code Coverage" /p:CoverletOutput=coverage/ /p:CoverletOutputFormat=json
- name: Upload coverage
uses: codecov/codecov-action@v1.0.11
with:
name: deequ.NET
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
run-examples:
runs-on: ubuntu-latest
env:
DOTNET_WORKER_DIR: /usr/local/bin/
SPARK_RUNNER_DIR: /home/runner/bin/
steps:
- uses: actions/checkout@v2
- name: Scripts permissions
run: chmod +x deploy/install-worker.sh && chmod +x deploy/download-spark.sh
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.404
- name: Download OpenJDK
uses: sormuras/download-jdk@v1
with:
feature: 9
- name: Install Apache Spark
run: deploy/download-spark.sh $SPARK_RUNNER_DIR
- name: Install .NET Worker
run: deploy/install-worker.sh github https://github.com/dotnet/spark/releases/download/v1.0.0/Microsoft.Spark.Worker.netcoreapp3.1.linux-x64-1.0.0.tar.gz $DOTNET_WORKER_DIR
- name: Install dependencies
run: dotnet restore
working-directory: examples/example
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: examples/example
- name: Scripts permissions
run: chmod +x ci-scripts/execute-examples-projects.sh
working-directory: examples/example
- name: Execute examples project
run: ci-scripts/execute-examples-projects.sh Release microsoft-spark-2-4_2.11-1.0.0.jar netcoreapp3.1 /home/runner/bin/spark-2.4.4-bin-hadoop2.7/bin
working-directory: examples/example
# tests-windows:
# runs-on: windows-latest
# env:
# DOTNET_WORKER_DIR: c:\bin\Microsoft.Spark.Worker\
# HOME: c:\
# steps:
# - uses: actions/checkout@v2
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 3.1.101
# - name: Install dependencies
# run: dotnet restore
# - name: Build
# run: dotnet build --configuration Release --no-restore
# - name: Scripts permissions
# run: chmod +x deploy/install-worker.sh && chmod +x deploy/download-spark.sh
# - name: Install Apache Spark
# run: bash deploy/download-spark.sh c:\bin\
# - name: Install .NET Worker
# run: deploy/install-worker.cmd c:\bin\Microsoft.Spark.Worker\ 0.9.0
# - name: Run tests
# run: dotnet test -v d --collect:"XPlat Code Coverage" /p:CoverletOutput=coverage/ /p:CoverletOutputFormat=json
# - name: Upload coverage
# uses: codecov/codecov-action@v1.0.11
# with:
# name: deequ.NET
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true