Skip to content

setup --vscode: Prompt user to install recommended extensions #194

setup --vscode: Prompt user to install recommended extensions

setup --vscode: Prompt user to install recommended extensions #194

Workflow file for this run

# This workflow will install Python dependencies and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
environment: [ubuntu-20.04, macos-latest, windows-latest]
python-version: ["3.5", "3.6", "3.7", "3.8", "3.10", "3.11", "3.12"]
include:
- environment: ubuntu-20.04
setup: dbus-run-session sh -c 'env $(echo password | gnome-keyring-daemon --unlock) "$0" "$@"'
runs-on: ${{ matrix.environment }}
steps:
- uses: actions/checkout@v3
- name: Install gnome keyring
run: sudo apt-get install gnome-keyring
if: ${{ matrix.environment == 'ubuntu-20.04' }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Test with pytest
run: ${{ matrix.setup }} pytest -vv