haesli/.github/workflows/ci.yml
2022-03-06 17:39:49 +01:00

24 lines
475 B
YAML

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check format
run: cargo build --verbose
- name: Check clippy
run: cargo clippy --verbose -- -D clippy::all
- name: Run unit tests
run: cargo test --verbose --all
- name: Run client integration tests
run: cargo xtask test-js