File tree 2 files changed +38
-11
lines changed
2 files changed +38
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : " Build and check formatting and Mock Tests"
2
+ description : " Download Parsec Mock, install dependencies and execute all tests"
3
+
4
+ runs :
5
+ using : " composite"
6
+ steps :
7
+ - name : Set up Python 3.7
8
+ uses : actions/setup-python@v1
9
+ with :
10
+ python-version : 3.7
11
+ - name : Download Parsec Mock, install dependencies and execute all tests
12
+ run : |
13
+ curl -s -N -L https://github.com/parallaxsecond/parsec-mock/archive/refs/tags/0.1.1.tar.gz | tar xz
14
+ cd parsec-mock-0.1.1/
15
+ python -m pip install --upgrade pip
16
+ pip install -r requirements.txt
17
+ cd ..
18
+ ./tests/ci.sh
19
+ shell : bash
Original file line number Diff line number Diff line change 7
7
name : Build and check formatting
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v2
11
- - name : Set up Python 3.7
12
- uses : actions/setup-python @v1
10
+ - uses : actions/checkout@v3
11
+ - name : Install latest Rust
12
+ uses : actions-rust-lang /setup-rust-toolchain @v1
13
13
with :
14
- python-version : 3.7
14
+ toolchain : stable
15
+ rustflags : " "
15
16
- name : Download Parsec Mock, install dependencies and execute all tests
16
- run : |
17
- curl -s -N -L https://github.com/parallaxsecond/parsec-mock/archive/refs/tags/0.1.1.tar.gz | tar xz
18
- cd parsec-mock-0.1.1/
19
- python -m pip install --upgrade pip
20
- pip install -r requirements.txt
21
- cd ..
22
- ./tests/ci.sh
17
+ uses : ./.github/actions/mock_tests
18
+
19
+ build-msrv :
20
+ name : MSRV - Build and check formatting
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+ - name : Install Rust MSRV
25
+ uses : actions-rust-lang/setup-rust-toolchain@v1
26
+ with :
27
+ toolchain : 1.66.0
28
+ rustflags : " "
29
+ - name : Download Parsec Mock, install dependencies and execute all tests
30
+ uses : ./.github/actions/mock_tests
You can’t perform that action at this time.
0 commit comments