File size: 659 Bytes
d199d6c
658ed86
dd83a20
 
d199d6c
 
 
 
658ed86
d35278a
658ed86
 
d199d6c
 
 
 
2b8c28b
d199d6c
 
2b8c28b
d199d6c
658ed86
72b6ca0
a653392
d199d6c
 
7f53fd2
a653392
d199d6c
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: PyTest
on:
  push:
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        python_version: ["3.9", "3.10"]
    timeout-minutes: 10

    steps:
      - name: Check out repository code
        uses: actions/checkout@v3

      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.python_version }}
          cache: 'pip' # caching pip dependencies

      - name: Install dependencies
        run: |
          pip install -e .
          pip install -r requirements-tests.txt

      - name: Run tests
        run: |
          pytest tests/