Skip to content

Feat/todolang

Feat/todolang #62

Workflow file for this run

name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Tauri [Ubuntu] dependencies
run: >-
sudo apt-get update &&
sudo apt-get install -y
libgtk-3-dev
libayatana-appindicator3-dev
libwebkit2gtk-4.1-dev
webkit2gtk-driver
xvfb
- name: Build
run: |
cd src-tauri
cargo build --all --verbose
- name: Run tests
run: |
cd src-tauri
cargo test --all --verbose