Increase MSRV to 1.70 and Actually test it in CI #142
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Test (Python zeroconf) | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install our MSRV | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: "1.70" | |
override: true | |
- name: Compile example | |
run: cargo build --example register | |
- name: Install dependencies | |
run: | | |
sudo apt-get -y install python3-setuptools python3-wheel | |
pip3 install --user zeroconf | |
- name: Test zeroconf | |
run: | | |
timeout 5 cargo run --example register & | |
python3 examples/zeroconf_test.py |