Resolved merge conflicts #9
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 | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
api-level: [29] | |
python-version: ["3.9", "3.11"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build python | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest pylint flake8 humanfriendly numpy pandas seaborn protobuf argparse_formatter | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
flake8 scripts --count --select=E9,F63,F7,F82 --exclude scripts/proto --show-source --statistics | |
flake8 scripts --exclude scripts/proto --count --exit-zero --statistics | |
pylint scripts --ignore scripts/proto --errors-only --exit-zero | |
pylint scripts --ignore scripts/proto --exit-zero | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build android | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: ${{ matrix.api-level }} | |
script: | | |
./gradlew build |