Files
wrkflw/tests/fixtures/gitlab-ci/basic.gitlab-ci.yml
bahdotsh 181b5c5463 feat: reorganize test files and delete manual test checklist
- Move test workflows to tests/workflows/
- Move GitLab CI fixtures to tests/fixtures/gitlab-ci/
- Move test scripts to tests/scripts/
- Move Podman testing docs to tests/
- Update paths in test scripts and documentation
- Delete MANUAL_TEST_CHECKLIST.md as requested
- Update tests/README.md to reflect new organization
2025-08-09 15:30:53 +05:30

45 lines
674 B
YAML

stages:
- build
- test
- deploy
variables:
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
# Default image for all jobs
image: rust:1.76
build:
stage: build
script:
- cargo build --release
artifacts:
paths:
- target/release/
expire_in: 1 week
test:
stage: test
script:
- cargo test
dependencies:
- build
lint:
stage: test
script:
- rustup component add clippy
- cargo clippy -- -D warnings
- cargo fmt -- --check
deploy:
stage: deploy
script:
- echo "Deploying application..."
- cp target/release/wrkflw /usr/local/bin/
only:
- main
environment:
name: production
dependencies:
- build