-
-
Notifications
You must be signed in to change notification settings - Fork 78
51 lines (45 loc) · 1.28 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
50
51
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
## Bugs in older Rust versions for some of our borrowing logic for filters
## No longer makes supporting this Rust version possible
# 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.61.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.61.0
profile: minimal
override: true
- name: Test
run: make test