aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/tests.yml
blob: 3eb7a45ffacbd5449dc07ce4482ec45237e42d99 (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: Run Tests

on:
  workflow_dispatch:
  push:
    branches:
      - master
    paths:
      - epy.py

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: "3.x"
      - uses: abatilo/actions-poetry@v2.0.0
      - name: Install dev dependencies
        run: poetry install --no-root
      - name: Run tests
        run: poetry run python -m pytest -vv