Skip to content

CI 🔍 fix: update Testcontainers and SSH.NET #48

CI 🔍 fix: update Testcontainers and SSH.NET

CI 🔍 fix: update Testcontainers and SSH.NET #48

Workflow file for this run

name: CI
run-name: CI 🔍 ${{ github.event.pull_request.title }}
on:
pull_request:
concurrency:
group: ci-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
name: Tests dotnet ${{ matrix.dotnet-version }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
dotnet-version: [8, 9, 10]
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Docker Information
run: |
echo -e "\n\033[0;34mDocker System Info \033[0m"
docker system info
echo -e "\n\033[0;34mDocker Containers \033[0m"
docker ps -a
shell: bash
- name: Build projects
shell: bash
run: dotnet build ./all.csproj -f net${{ matrix.dotnet-version }}.0
- name: Run tests
shell: bash
run: >
dotnet test ./all.csproj
-p:BuildTestsOnly=true
--no-build
-f net${{ matrix.dotnet-version }}.0
--
--ignore-exit-code 8
- name: Upload test results
if: always()
uses: actions/upload-artifact@v7
with:
name: test-results-net${{ matrix.dotnet-version }}
path: "**/TestResults/*.log"
if-no-files-found: ignore