dmyersturnbull/mandos

View on GitHub
.github/workflows/pull-test.yml

Summary

Maintainability
Test Coverage
# Runs tests via tox
# Runs on pull requests to main
name: Test on pull request
on:
  pull_request:
    branches: [main]
jobs:
  build:
    strategy:
      max-parallel: 1
      matrix:
        os: ["ubuntu-20.04"]
        python-version: ["3.10"]
    runs-on: "${{ matrix.os }}"
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: "Set up Python ${{ matrix.python-version }}"
        uses: actions/setup-python@v2
        with:
          python-version: "${{ matrix.python-version }}"
      - name: Install build meta-dependencies
        run: |
          pip install tox poetry
      - name: Test with tox
        run: |
          tox -v