This commit is contained in:
14
.gitea/workflows/test.yaml
Normal file
14
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
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
|
||||||
|
- name: Run tests in "${{ matrix.BUILD_TARGET }}" mode
|
||||||
|
run: cargo test --profile ${{ matrix.BUILD_TARGET }}
|
||||||
|
|
||||||
Reference in New Issue
Block a user