You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
01/.github/workflows/test.yml

37 lines
903 B

name: Run Test
on:
# pull_request:
# branches: [main]
push:
concurrency:
group: "test"
cancel-in-progress: false
jobs:
pytest:
name: Run Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
10 months ago
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
10 months ago
python-version: ${{ matrix.python-version }}
- name: Install Poetry Package
working-directory: 01OS
run: |
10 months ago
sudo apt-get install portaudio19-dev python-all-dev
pip install --upgrade pip
pip install poetry==1.3.2
poetry config virtualenvs.create false
poetry install --no-interaction --with dev
- name: Run Pre-commit
working-directory: 01OS
run: pytest test