From c7a5da8b1a5595030f1a7706119c1ba1a14069c5 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Mon, 10 Mar 2025 02:42:02 +0100 Subject: [PATCH] ci: remove file inclusions and exclusions Some PRs don't seem to not run some of the CI steps, and this may be the cause. The `-j4` flag should be sufficient to avoid straining Codeberg CI. --- .woodpecker/build_and_test.yaml | 60 ------------------------------- .woodpecker/check_formatting.yaml | 15 -------- 2 files changed, 75 deletions(-) diff --git a/.woodpecker/build_and_test.yaml b/.woodpecker/build_and_test.yaml index 11875d9..614865c 100644 --- a/.woodpecker/build_and_test.yaml +++ b/.woodpecker/build_and_test.yaml @@ -20,21 +20,6 @@ steps: - cargo build -j4 -p topola-cli --no-default-features --features "$FEATURES" -- when: event: [pull_request, push, tag] - path: - include: - - '.woodpecker/*.yaml' - - '*.toml' - - 'crates/**' - - 'src/**' - - 'tests/**' - - 'examples/**' - exclude: - - 'assets/**' - - 'LICENSES/**' - - 'locales/**' - - '*.md' - ignore_message: '[ALL]' - on_empty: false # Testing is a step instead of a separate flow to reduce Codeberg's CI usage. test: @@ -49,21 +34,6 @@ steps: event: [pull_request, push, tag] # Only run tests for stable channel to avoid straining Codeberg's CI. evaluate: 'CHANNEL == "stable"' - path: - include: - - '.woodpecker/*.yaml' - - '*.toml' - - 'crates/**' - - 'src/**' - - 'tests/**' - - 'examples/**' - exclude: - - 'assets/**' - - 'LICENSES/**' - - 'locales/**' - - '*.md' - ignore_message: '[ALL]' - on_empty: false # Step instead of a separate flow to reduce Codeberg's CI usage. build_egui: @@ -76,21 +46,6 @@ steps: - cargo build -j4 -p topola-egui --no-default-features --features "$FEATURES,xdg-portal" when: event: [pull_request, push, tag] - path: - include: - - '.woodpecker/*.yaml' - - '*.toml' - - 'crates/**' - - 'src/**' - - 'tests/**' - - 'examples/**' - exclude: - - 'assets/**' - - 'LICENSES/**' - - 'locales/**' - - '*.md' - ignore_message: '[ALL]' - on_empty: false # Step instead of a separate flow to reduce Codeberg's CI usage. build_wasm: @@ -107,18 +62,3 @@ steps: - trunk build when: event: [pull_request, push, tag] - path: - include: - - '.woodpecker/*.yaml' - - '*.toml' - - 'crates/**' - - 'src/**' - - 'tests/**' - - 'examples/**' - exclude: - - 'assets/**' - - 'LICENSES/**' - - 'locales/**' - - '*.md' - ignore_message: '[ALL]' - on_empty: false diff --git a/.woodpecker/check_formatting.yaml b/.woodpecker/check_formatting.yaml index b869124..ae15e67 100644 --- a/.woodpecker/check_formatting.yaml +++ b/.woodpecker/check_formatting.yaml @@ -13,18 +13,3 @@ steps: - cargo fmt --all -- --check when: event: [pull_request, push, tag] - path: - include: - - '.woodpecker/*.yaml' - - '*.toml' - - 'crates/**' - - 'src/**' - - 'tests/**' - - 'examples/**' - exclude: - - 'assets/**' - - 'LICENSES/**' - - 'locales/**' - - '*.md' - ignore_message: '[ALL]' - on_empty: false