Skip to content

Commit

Permalink
.github/workflows/python-app.yml: generate protobuf files first
Browse files Browse the repository at this point in the history
  • Loading branch information
szobov committed Aug 1, 2023
1 parent b984604 commit ef87bb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y libzbar0
sudo apt-get update && sudo apt-get install -y libzbar0 protobuf-compiler
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements/requirements-dev.txt
- name: Generate python's protobuf files
run: |
protoc --python_out=. ./anker/anki_proto/*.proto
- name: Test with pytest
run: |
pytest

0 comments on commit ef87bb5

Please sign in to comment.