Skip to content

chore(deps): bump actions/upload-artifact from 4 to 7 #11

chore(deps): bump actions/upload-artifact from 4 to 7

chore(deps): bump actions/upload-artifact from 4 to 7 #11

Workflow file for this run

name: integration
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/IcebergSharp.Integration/**'
- '.github/workflows/integration.yml'
pull_request:
branches: [main]
paths:
- 'src/**'
- 'tests/IcebergSharp.Integration/**'
- '.github/workflows/integration.yml'
workflow_dispatch:
permissions:
contents: read
env:
DOTNET_NOLOGO: 'true'
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
jobs:
integration:
name: integration tests (Polaris + MinIO)
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
dotnet-version: |
8.0.x
9.0.x
- name: NuGet package cache
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/Directory.Packages.props', '**/*.csproj') }}
restore-keys: |
nuget-${{ runner.os }}-
- name: Start dependencies
working-directory: tests/IcebergSharp.Integration
run: docker compose up -d --wait
- name: Restore + build
run: |
dotnet restore IcebergSharp.slnx
dotnet build tests/IcebergSharp.Integration --configuration Release --no-restore
- name: Integration tests
run: >
dotnet test tests/IcebergSharp.Integration
--configuration Release
--no-build
--logger "trx;LogFileName=integration.trx"
--results-directory artifacts/integration-results
- name: Stop dependencies
if: always()
working-directory: tests/IcebergSharp.Integration
run: docker compose down -v
- name: Upload integration results
if: always()
uses: actions/upload-artifact@v7
with:
name: integration-results
path: artifacts/integration-results/
retention-days: 7