-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (22 loc) · 757 Bytes
/
Copy pathtest.yml
File metadata and controls
30 lines (22 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release
- name: Run tests (skip book-dependent tests)
run: cargo test -- --skip book::tests::decode_polyglot_move --skip book::tests::polyglot_lookup --skip book::tests::suggest_move --skip book::tests::polyglot_book_produces --skip book::tests::polyglot_hash_with_castling --skip engine::tests::engine_uses_book