summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/tests.yml
blob: bbef1b7d5718cba9657ae81ece5932d4b8a4bb03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: tests
on:
  push:
  workflow_dispatch:

jobs:
  run-test:
    runs-on: ubuntu-latest
    steps:
      - run: sudo apt-get install poppler-utils
      - uses: actions/checkout@v2
      - name: Setup python
        uses: actions/setup-python@v2
        with:
          python-version: '3.8'
      - name: Install python dependencies
        run: pip install -r requirements.txt
      - name: Install pytest and package
        run: |
          pip install pytest
          pip install pytest-cov
          pip install ".[dev,test]"
      - name: Run tests
        run: pytest --cov sec_certs