added driver for the MH-Z19x CO2-sensors #983
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: Build CI | |
on: [pull_request, push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Versions | |
run: | | |
python3 --version | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Fetch correct submodule shas | |
run: git submodule foreach 'git fetch --tags --depth 1 origin $sha1 && git checkout -q $sha1' | |
- name: Install deps | |
run: | | |
sudo apt-get install -y gettext gawk | |
pip install -r requirements.txt | |
- name: Library version | |
run: git describe --dirty --always --tags | |
- name: Build assets | |
run: ./build.sh |