Skip to content

Commit

Permalink
yml formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Pouya Rostam committed Nov 28, 2023
1 parent 4a76067 commit 8a0690d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: Python Demos
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [master]
paths:
- '.github/workflows/python-demos.yml'
- 'demo/python/**'
- '!demo/python/README.md'
- ".github/workflows/python-demos.yml"
- "demo/python/**"
- "!demo/python/README.md"
pull_request:
branches: [ master, 'v[0-9]+.[0-9]+' ]
branches: [master, "v[0-9]+.[0-9]+"]
paths:
- '.github/workflows/python-demos.yml'
- 'demo/python/**'
- '!demo/python/README.md'
- ".github/workflows/python-demos.yml"
- "demo/python/**"
- "!demo/python/README.md"

defaults:
run:
Expand All @@ -26,24 +26,24 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Pre-build dependencies
run: python -m pip install --upgrade pip
- name: Pre-build dependencies
run: python -m pip install --upgrade pip

- name: Install dependencies
run: pip install -r requirements.txt
- name: Install dependencies
run: pip install -r requirements.txt

- name: Test
run: python falcon_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_paths ../../resources/audio_samples/test.wav
- name: Test
run: python falcon_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_paths ../../resources/audio_samples/test.wav

build-self-hosted:
runs-on: ${{ matrix.machine }}
Expand All @@ -53,10 +53,10 @@ jobs:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Install dependencies
run: pip3 install -r requirements.txt
- name: Install dependencies
run: pip3 install -r requirements.txt

- name: Test
run: python3 falcon_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_paths ../../resources/audio_samples/test.wav
- name: Test
run: python3 falcon_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_paths ../../resources/audio_samples/test.wav
4 changes: 2 additions & 2 deletions .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Build dependencies
run: |
pip install wheel && python3 setup.py sdist bdist_wheel && pip install pip install -U dist/*.whl
pip install wheel && python3 setup.py sdist bdist_wheel && pip install pip install -U dist/*.*
- name: Install dependencies
run: pip install -r requirements.txt
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Build dependencies
run: |
pip install wheel && python3 setup.py sdist bdist_wheel && pip install pip install -U dist/*.whl
pip install wheel && python3 setup.py sdist bdist_wheel && pip install pip install -U dist/*.*
- name: Install dependencies
run: pip install -r requirements.txt
Expand Down

0 comments on commit 8a0690d

Please sign in to comment.