Skip to content

Commit 61c309a

Browse files
committed
Replace travis with GitHub Actions CI
1 parent df54f49 commit 61c309a

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

.github/workflows/rust.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Check formatting
18+
run: cargo fmt -- --check
19+
- name: Run tests
20+
run: cargo test --release -- --nocapture
21+
- name: Run performance tests
22+
run: export RUST_TEST_THREADS=1; cargo test --release -- --ignored --nocapture

.travis.yml

-9
This file was deleted.

0 commit comments

Comments
 (0)