This commit is contained in:
15
.gitea/workflows/test.yaml
Normal file
15
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Test
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
BUILD_TARGET: [release] # refers to a cargo profile
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
- name: Run tests in "${{ matrix.BUILD_TARGET }}" mode
|
||||
run: cargo test --profile ${{ matrix.BUILD_TARGET }}
|
||||
|
||||
Reference in New Issue
Block a user