Show More
@@ -0,0 +1,26 b'' | |||||
|
1 | name: Build docs | |||
|
2 | ||||
|
3 | on: [push, pull_request] | |||
|
4 | ||||
|
5 | jobs: | |||
|
6 | build: | |||
|
7 | runs-on: ubuntu-latest | |||
|
8 | ||||
|
9 | steps: | |||
|
10 | - uses: actions/checkout@v2 | |||
|
11 | - name: Set up Python 3.8 | |||
|
12 | uses: actions/setup-python@v2 | |||
|
13 | with: | |||
|
14 | python-version: 3.8 | |||
|
15 | - name: Install Graphviz | |||
|
16 | run: | | |||
|
17 | sudo apt-get update | |||
|
18 | sudo apt-get install graphviz | |||
|
19 | - name: Install Python dependencies | |||
|
20 | run: | | |||
|
21 | python -m pip install --upgrade pip setuptools | |||
|
22 | pip install -r docs/requirements.txt | |||
|
23 | - name: Build docs | |||
|
24 | run: | | |||
|
25 | python tools/fixup_whats_new_pr.py | |||
|
26 | make -C docs/ html SPHINXOPTS="-W" |
@@ -0,0 +1,31 b'' | |||||
|
1 | name: Github releases | |||
|
2 | ||||
|
3 | on: | |||
|
4 | push: | |||
|
5 | tags: | |||
|
6 | - '*.*.*' | |||
|
7 | ||||
|
8 | jobs: | |||
|
9 | build: | |||
|
10 | runs-on: ubuntu-latest | |||
|
11 | steps: | |||
|
12 | - name: Checkout | |||
|
13 | uses: actions/checkout@v2 | |||
|
14 | - name: Set up Python 3.9 | |||
|
15 | uses: actions/setup-python@v2 | |||
|
16 | with: | |||
|
17 | python-version: 3.9 | |||
|
18 | ||||
|
19 | - name: Make packages | |||
|
20 | run: | | |||
|
21 | pip install --upgrade setuptools wheel | |||
|
22 | rm -rf dist/ | |||
|
23 | python setup.py sdist | |||
|
24 | python setup.py bdist_wheel | |||
|
25 | ||||
|
26 | - name: Github release | |||
|
27 | uses: softprops/action-gh-release@v1 | |||
|
28 | with: | |||
|
29 | files: dist/* | |||
|
30 | env: | |||
|
31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
@@ -0,0 +1,23 b'' | |||||
|
1 | name: Run tests on OSX | |||
|
2 | ||||
|
3 | on: [push, pull_request] | |||
|
4 | ||||
|
5 | jobs: | |||
|
6 | test: | |||
|
7 | runs-on: macos-latest | |||
|
8 | ||||
|
9 | steps: | |||
|
10 | - uses: actions/checkout@v2 | |||
|
11 | - name: Set up Python 3.7 | |||
|
12 | uses: actions/setup-python@v2 | |||
|
13 | with: | |||
|
14 | python-version: 3.7 | |||
|
15 | - name: Install and update Python dependencies | |||
|
16 | run: | | |||
|
17 | python -m pip install --upgrade pip setuptools wheel | |||
|
18 | python -m pip install --upgrade -e file://$PWD#egg=ipython[test] | |||
|
19 | python -m pip install --upgrade --upgrade-strategy eager trio curio | |||
|
20 | python -m pip install --upgrade pytest pytest-trio 'matplotlib!=3.2.0' | |||
|
21 | python -m pip install --upgrade anyio | |||
|
22 | - name: pytest | |||
|
23 | run: pytest |
@@ -0,0 +1,36 b'' | |||||
|
1 | name: Run tests | |||
|
2 | ||||
|
3 | on: [push, pull_request] | |||
|
4 | ||||
|
5 | jobs: | |||
|
6 | test: | |||
|
7 | runs-on: ubuntu-latest | |||
|
8 | strategy: | |||
|
9 | matrix: | |||
|
10 | python-version: [3.7, 3.8, 3.9] | |||
|
11 | ||||
|
12 | steps: | |||
|
13 | - uses: actions/checkout@v2 | |||
|
14 | - name: Set up Python ${{ matrix.python-version }} | |||
|
15 | uses: actions/setup-python@v2 | |||
|
16 | with: | |||
|
17 | python-version: ${{ matrix.python-version }} | |||
|
18 | - name: Install and update Python dependencies | |||
|
19 | run: | | |||
|
20 | python -m pip install --upgrade pip setuptools wheel | |||
|
21 | python -m pip install --upgrade -e file://$PWD#egg=ipython[test] | |||
|
22 | python -m pip install --upgrade --upgrade-strategy eager trio curio | |||
|
23 | python -m pip install --upgrade pytest pytest-trio 'matplotlib!=3.2.0' | |||
|
24 | python -m pip install --upgrade check-manifest pytest-cov anyio | |||
|
25 | - name: Check manifest | |||
|
26 | run: check-manifest | |||
|
27 | - name: iptest | |||
|
28 | run: | | |||
|
29 | cd /tmp && iptest --coverage xml && cd - | |||
|
30 | cp /tmp/ipy_coverage.xml ./ | |||
|
31 | cp /tmp/.coverage ./ | |||
|
32 | - name: pytest | |||
|
33 | run: | | |||
|
34 | pytest | |||
|
35 | - name: Upload coverage to Codecov | |||
|
36 | uses: codecov/codecov-action@v1 |
@@ -1,7 +1,8 b'' | |||||
1 | -e . |
|
1 | -e .[test] | |
2 | ipykernel |
|
2 | ipykernel | |
3 | setuptools>=18.5 |
|
3 | setuptools>=18.5 | |
4 | sphinx |
|
4 | sphinx | |
5 | sphinx-rtd-theme |
|
5 | sphinx-rtd-theme | |
6 | docrepr |
|
6 | docrepr | |
7 | matplotlib |
|
7 | matplotlib | |
|
8 | pytest |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now