Skip to content

Commit

Permalink
ci.yml: Add a job to build with the MSRV
Browse files Browse the repository at this point in the history
This jobs does MSRV build and format checks, but does not run
runtime tests.

Signed-off-by: Tomás González <[email protected]>
  • Loading branch information
tgonzalezorlandoarm committed Nov 13, 2023
1 parent ef9963b commit 5e69e18
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,26 @@ jobs:
pip install -r requirements.txt
cd ..
./tests/ci.sh
build-msrv:
name: Build and check formatting with the MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust MSRV
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.66.0
rustflags: ""
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Download Parsec Mock, install dependencies and execute all tests
run: |
curl -s -N -L https://github.com/parallaxsecond/parsec-mock/archive/refs/tags/0.1.1.tar.gz | tar xz
cd parsec-mock-0.1.1/
python -m pip install --upgrade pip
pip install -r requirements.txt
cd ..
./tests/ci.sh

0 comments on commit 5e69e18

Please sign in to comment.