File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212jobs :
1313 clippy-check :
14-
14+ name : Run clippy
1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - uses : actions/checkout@v4
19- - run : rustup component add clippy
20- - run : cargo clippy --all-targets --all-features --workspace -- -Dwarnings
18+ - uses : actions/checkout@v4
19+
20+ - name : Update rust
21+ run : rustup update
22+
23+ - name : Run clippy
24+ run : cargo clippy --all-targets --all-features --workspace
Original file line number Diff line number Diff line change 11name : Doc
22on :
33 push :
4- branches : [ master ]
4+ tags : [ v* ]
55
66jobs :
77 doc-build-and-deploy :
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Release
22
33on :
44 push :
5- branches : [master, dev]
5+ branches : [ master, dev ]
66 pull_request :
7- branches : [master]
7+ branches : [ master ]
88 workflow_dispatch :
99
1010env :
5656 run : |
5757 mkdir -p release/lidi-${{ env.SUFFIX }}
5858 mv artifacts/release/* release/lidi-${{ env.SUFFIX }}/
59- cp -r LICENSE README.md tools release/lidi-${{ env.SUFFIX }}/
59+ cp -r LICENSE README.md release/lidi-${{ env.SUFFIX }}/
6060
6161 - name : Upload release artifacts
6262 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1111 CARGO_TERM_COLOR : always
1212
1313jobs :
14- build :
14+ tests :
15+ name : Run tests
1516 runs-on : ubuntu-latest
1617
1718 steps :
1819 - uses : actions/checkout@v4
19- - name : Run tests
20+
21+ - name : Update rust
22+ run : rustup update
23+
24+ - name : Run cargo tests
2025 run : cargo test
21- - name : Install pip and virtualenv
22- run : sudo apt install python3-pip python3-virtualenv
26+
27+ - name : Install system dependencies
28+ run : sudo apt install python3-pip python3-virtualenv libfuse2t64
29+
2330 - name : Create virtualenv
2431 run : virtualenv venv
25- - name : Enter virtualenv
26- run : source venv/bin/activate
32+
2733 - name : Install python packages
28- run : pip install behave fusepy psutil
29- - name : Run integration tests
30- run : behave --tags=~fail features/simple.feature
34+ run : |
35+ source venv/bin/activate
36+ pip install behave fusepy psutil
37+
38+ - name : Run simple integration tests
39+ run : |
40+ source venv/bin/activate
41+ behave --tags=~fail features/simple.feature
Original file line number Diff line number Diff line change 33import os
44import time
55import multiprocessing
6- from fusepy import FUSE , Operations
6+ from fuse import FUSE , Operations
77
88class ThrottledFS (Operations ):
99 def __init__ (self , root , read_rate_limit ):
You can’t perform that action at this time.
0 commit comments