This repository has been archived by the owner on May 1, 2023. It is now read-only.
Bump pytest from 7.2.2 to 7.3.1 #374
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: CI | |
on: # yamllint disable-line rule:truthy | |
push: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get tags | |
run: git fetch --tags origin -f | |
- uses: awalsh128/cache-apt-pkgs-action@v1.3.0 | |
if: runner.os == 'Linux' | |
with: | |
packages: portaudio19-dev | |
version: 1.0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry Action | |
uses: snok/install-poetry@v1.3.3 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Load cached venv | |
id: cached-poetry-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/package-lock.json') }}-2 | |
- run: pip install poetry | |
- run: poetry install | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: npm | |
- run: npm install | |
- run: poetry run make -j $(nproc) |