forked from mitsuhiko/minijinja
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (43 loc) · 1.11 KB
/
tests.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Tests
on: [push, pull_request]
jobs:
test-latest:
name: Test on Latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Test
run: make test
build-old-stable:
name: Build on 1.45.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.45.0
profile: minimal
override: true
- name: Build
run: cargo build --features=unstable_machinery,builtins,source,json,urlencode,debug,internal_debug
working-directory: ./minijinja
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
CARGO_HTTP_MULTIPLEXING: "false"
test-stable:
name: Test on 1.56.1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.1
profile: minimal
override: true
- name: Test
run: make test