-
Notifications
You must be signed in to change notification settings - Fork 74
41 lines (35 loc) · 919 Bytes
/
rust.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
name: Linux
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ci-linux-tests-${{ github.ref }}-1
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: '3.11'
- name: Install libmagic
run: |
sudo apt-get install libmagic1 libmagic-dev
- name: Install and Run Redis
run: |
sudo apt-get install redis-server
sudo service redis-server start
- name: Update Rust
run: rustup update
- name: Setup Rust-cache
uses: Swatinem/rust-cache@v2
with:
key: qsv-cache
- name: Run tests
run: cargo test --verbose --locked --features=apply,fetch,foreach,generate,luau,python,magic,polars,to,feature_capable