otherguy/alfred-passwords-workflow

View on GitHub
.github/workflows/ci.yaml

Summary

Maintainability
Test Coverage
name: ci

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:

  ci:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version:
          - '3.8.9' # Monterey default
          - '3.10' # Latest
    steps:
      - name: 'Set up Python ${{ matrix.python-version }}'
        uses: actions/setup-python@v4.7.1
        with:
          python-version: '${{ matrix.python-version }}'
      - uses: actions/checkout@v4
      - run: pip install -r requirements.txt
      - run: pip install -r requirements-test.txt
      - name: 'Run tests'
        run: python -m unittest