musichoard/.gitea/workflows/gitea-ci.yaml
Wojciech Kozlowski 26f0ccd842
All checks were successful
Cargo CI / Build and Test (push) Successful in 2m1s
Cargo CI / Lint (push) Successful in 43s
Add integration tests to CI (#82)
Closes #81

Reviewed-on: #82
2024-01-06 16:14:07 +01:00

29 lines
682 B
YAML

name: Cargo CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
BEETSDIR: ./
jobs:
build_and_test:
name: Build and Test
container: docker.io/drrobot/musichoard-ci:rust-1.75
steps:
- uses: actions/checkout@v3
- run: cargo build --verbose --all-features --all-targets
- run: cargo test --verbose --all-features --all-targets --no-fail-fast
lint:
name: Lint
container: docker.io/drrobot/musichoard-ci:rust-1.75
steps:
- uses: actions/checkout@v3
- run: cargo clippy --verbose --all-features --all-targets -- -D warnings
- run: cargo fmt --verbose -- --check