Добавление инициализатора для uart модуля по умолчанию #163
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: pytest | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
python -m venv .venv | |
poetry install | |
sudo apt install gcc-arm-none-eabi | |
- name: Install arduino-cli, install arduino:avr library | |
run: | | |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh | |
export PATH=$PATH:/home/runner/work/lapki-compiler/lapki-compiler/bin | |
arduino-cli core install arduino:avr | |
- name: Running pytest | |
run: | | |
export PATH=$PATH:/home/runner/work/lapki-compiler/lapki-compiler/bin | |
source ./.venv/bin/activate | |
pytest |