Skip to content

Fix ISO week calculation in backup rotation policy #317

Fix ISO week calculation in backup rotation policy

Fix ISO week calculation in backup rotation policy #317

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
# Skip CI for automated commits
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !startsWith(github.event.head_commit.message, 'Release v') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET 9
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Run .NET tests
run: dotnet test --configuration Release --no-build --verbosity normal
# VS Code Extension Tests
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install extension dependencies
run: |
cd vscode-extension
npm install
- name: Run VS Code extension unit tests
run: |
cd vscode-extension
npm run test:unit
- name: Test summary
if: success()
run: echo "✅ All tests passed (.NET and VS Code extension)"