31 lines
549 B
YAML
31 lines
549 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test-crates:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: gitea.gwmc.dev/otter/otter-ci:latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Rust, checkout and restore caches
|
|
uses: ./.github/actions/setup-rust
|
|
|
|
- name: Run tests
|
|
run: |
|
|
cd src-tauri
|
|
cargo test --all-features
|
|
|