Add Forgejo CI workflow for bottest - Compile and run unit tests
Some checks failed
GBCI / test (push) Failing after 12s
Some checks failed
GBCI / test (push) Failing after 12s
This commit is contained in:
parent
4455eb7436
commit
5392ac3159
1 changed files with 38 additions and 0 deletions
38
.forgejo/workflows/bottest.yaml
Normal file
38
.forgejo/workflows/bottest.yaml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
name: GBCI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: gbo
|
||||
|
||||
steps:
|
||||
- name: Disable SSL verification (temporary)
|
||||
run: git config --global http.sslVerify false
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust
|
||||
uses: msrd0/rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: Run build
|
||||
run: |
|
||||
cargo build --locked
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
cargo test --locked
|
||||
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
cargo test --locked --features integration
|
||||
|
||||
- name: Run all tests with full features
|
||||
run: |
|
||||
cargo test --locked --features full
|
||||
Loading…
Add table
Reference in a new issue