Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
48 lines (46 loc) · 1.32 KB

File metadata and controls

48 lines (46 loc) · 1.32 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name: CI
on:
push:
pull_request:
schedule:
# run at 7:00 on the first of every month
- cron: '0 7 1 * *'
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.python-version == 'pypy3' }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5"
pip install pytest pytest-cov numpy
- name: Build with Python ${{ matrix.python-version }}
run: |
python setup.py build
- name: Build documentation
run: |
python setup.py build_sphinx
python setup.py build_sphinx_man
- name: Test with pytest
run: |
pytest --cov=bpython --cov-report=xml -v
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
env:
PYTHON_VERSION: ${{ matrix.python-version }}
with:
file: ./coverage.xml
env_vars: PYTHON_VERSION
if: ${{ always() }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.