File: pythonapp.yml

package info (click to toggle)
python-sure 2.0.1%2Bgit.2023.02.06.3aef950b7c-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: python: 3,517; makefile: 255; sh: 12
file content (66 lines) | stat: -rw-r--r-- 1,445 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Sure Tests
on: [push, pull_request]

jobs:
  python:
    name: "Python"
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python:
          - "3.9"
          - "3.7"
          - "3.10"
          - "3.11"
          - "3.6"
          - "3.8"

    steps:
    - uses: actions/checkout@v3
    - name: Install python version
      uses: gabrielfalcao/pyenv-action@v12
      with:
        default: "${{ matrix.python }}"
        command: pip install -U pip setuptools

    - name: Install dependencies
      run: pip install -r development.txt

    - name: Install sure
      run: pip install -e .

    - name: Run tests via pytest
      run: pytest -vv

    # - name: Run tests via nose
    #   run: nosetests --verbosity 2
  #
  # oldschool:
  #   name: "Old School Python"
  #   runs-on: ubuntu-18.04
  #   strategy:
  #     matrix:
  #       python:
  #         - "2.7"
  #         - "3.6"
  #         - "3.7"
  #
  #   steps:
  #   - uses: actions/checkout@v3
  #   - name: Install python version
  #     uses: gabrielfalcao/pyenv-action@v12
  #     with:
  #       default: "${{ matrix.python }}"
  #       command: pip install -U pip setuptools
  #
  #   - name: Install dependencies
  #     run: pip install -r development.txt
  #
  #   - name: Install sure
  #     run: pip install -e .
  #
  #   - name: Run tests via nose
  #     run: nosetests --verbosity 2
  #
  #   - name: Run tests via pytest
  #     run: pytest -vv