Skip to content

Commit 5455139

Browse files
authored
Merge pull request #45 from ecstatic-morse/github-actions
Set up GitHub Actions
2 parents de7ad5a + bfff5a4 commit 5455139

File tree

2 files changed

+36
-14
lines changed

2 files changed

+36
-14
lines changed

.github/workflows/main.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
name: CI
3+
4+
on:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
name: Run tests
12+
runs-on: ubuntu-latest
13+
continue-on-error: ${{ matrix.rust == 'nightly' }}
14+
strategy:
15+
matrix:
16+
rust: [beta, nightly]
17+
steps:
18+
- uses: actions/checkout@v2
19+
with:
20+
fetch-depth: 1
21+
22+
- name: Install rust toolchain
23+
uses: actions-rs/toolchain@v1
24+
with:
25+
toolchain: ${{ matrix.rust }}
26+
profile: minimal
27+
override: true
28+
29+
- name: Build datafrog
30+
run: cargo build
31+
32+
- name: Execute tests
33+
run: cargo test
34+
35+
- name: Check examples
36+
run: cargo check --examples

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)