Skip to content

Add Hello World quickstart and fix old org links in README #425

Add Hello World quickstart and fix old org links in README

Add Hello World quickstart and fix old org links in README #425

Workflow file for this run

name: CI Build
concurrency:
group: ci-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Linter
run: >
DOCKER_BUILDKIT=1 docker build
--target=linter
--progress=plain
.
unit_tests:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Run unit tests
run: >
dotnet test Tests/conductor-csharp.test.csproj
-p:DefineConstants=EXCLUDE_EXAMPLE_WORKERS
--filter "Category!=Integration&Category!=CloudIntegration"
-l "console;verbosity=normal"
--collect:"XPlat Code Coverage"
--results-directory coverage
- name: Upload Cobertura artifact
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: cobertura
path: coverage/**/coverage.cobertura.xml
- name: Codecov upload
if: ${{ !env.ACT }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/**/coverage.cobertura.xml
flags: unittests
name: ${{ github.workflow }}-${{ github.job }}-${{ github.run_number }}
integration_tests:
needs: lint
runs-on: ubuntu-latest
env:
CONDUCTOR_SERVER_URL: ${{ secrets.CONDUCTOR_SERVER_URL }}
CONDUCTOR_AUTH_KEY: ${{ secrets.CONDUCTOR_AUTH_KEY }}
CONDUCTOR_AUTH_SECRET: ${{ secrets.CONDUCTOR_AUTH_SECRET }}
GITHUB_RUN_ID: ${{ github.run_id }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Show server endpoint and auth key prefix
run: |
echo "CONDUCTOR_SERVER_URL=${CONDUCTOR_SERVER_URL#*://}"
echo "CONDUCTOR_AUTH_KEY prefix=${CONDUCTOR_AUTH_KEY:0:8}..."
- name: Run integration tests (v5)
run: >
dotnet test Tests/conductor-csharp.test.csproj
-p:DefineConstants=EXCLUDE_EXAMPLE_WORKERS
--filter "Category=Integration"
-l "console;verbosity=normal"
legacy_integration_tests:
needs: lint
runs-on: ubuntu-latest
env:
CONDUCTOR_SERVER_URL: ${{ secrets.CONDUCTOR_SERVER_URL }}
CONDUCTOR_AUTH_KEY: ${{ secrets.CONDUCTOR_AUTH_KEY }}
CONDUCTOR_AUTH_SECRET: ${{ secrets.CONDUCTOR_AUTH_SECRET }}
GITHUB_RUN_ID: ${{ github.run_id }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Show server endpoint and auth key prefix
run: |
echo "CONDUCTOR_SERVER_URL=${CONDUCTOR_SERVER_URL#*://}"
echo "CONDUCTOR_AUTH_KEY prefix=${CONDUCTOR_AUTH_KEY:0:8}..."
- name: Run legacy integration tests
run: >
dotnet test Tests/conductor-csharp.test.csproj
-p:DefineConstants=EXCLUDE_EXAMPLE_WORKERS
--filter "Category=CloudIntegration"
-l "console;verbosity=normal"