Files
FWS-PacManage/.gitea/workflows/test.yml
T
BlackAngelTV 1903bad336
release / release (push) Has been cancelled
tests / build-test (push) Has been cancelled
ci: split tests and release workflows, drop secret requirement
Release no longer runs or depends on the test suite, and uses the
built-in automatic GITEA_TOKEN with a contents: write permission so no
secret needs to be configured. Tests moved to a dedicated workflow that
runs on every push and pull request.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 20:43:07 +02:00

41 lines
895 B
YAML

# Gitea Actions — Tests
#
# Dedicated test workflow: builds the application and runs the full test suite
# (ctest) on every push and pull request. Kept separate from the release
# workflow so a failing test never blocks a release.
name: tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
cmake g++ make qt6-base-dev
- name: Configure
run: |
cmake -B build \
-DFWS_BUILD_EXAMPLE_PLUGIN=ON \
-DCMAKE_BUILD_TYPE=Release
- name: Build
run: |
cmake --build build -j$(nproc)
- name: Run all tests
run: |
cd build
ctest --output-on-failure