##// END OF EJS Templates
Merge pull request #13069 from daniel-shimon/exported-submodules-completion...
Merge pull request #13069 from daniel-shimon/exported-submodules-completion Exported submodules completion

File last commit:

r26445:c684e0a0
r26708:6a1e9d0d merge
Show More
test.yml
36 lines | 1.1 KiB | text/x-yaml | YamlLexer
Blazej Michalik
Add GHA tests
r26431 name: Run tests
Thomas Kluyver
Add Github CI on Mac
r26445 on: [push, pull_request]
Blazej Michalik
Add GHA tests
r26431
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install and update Python dependencies
run: |
Thomas Kluyver
Also install wheel package
r26442 python -m pip install --upgrade pip setuptools wheel
Blazej Michalik
Add GHA tests
r26431 python -m pip install --upgrade -e file://$PWD#egg=ipython[test]
python -m pip install --upgrade --upgrade-strategy eager trio curio
python -m pip install --upgrade pytest pytest-trio 'matplotlib!=3.2.0'
Thomas Kluyver
Add codecov upload
r26441 python -m pip install --upgrade check-manifest pytest-cov anyio
Thomas Kluyver
Add check-manifest command as part of tests job
r26440 - name: Check manifest
run: check-manifest
Blazej Michalik
Add GHA tests
r26431 - name: iptest
run: |
cd /tmp && iptest --coverage xml && cd -
Thomas Kluyver
Add codecov upload
r26441 cp /tmp/ipy_coverage.xml ./
cp /tmp/.coverage ./
Blazej Michalik
Add GHA tests
r26431 - name: pytest
run: |
pytest
Thomas Kluyver
Name codecov step
r26443 - name: Upload coverage to Codecov
uses: codecov/codecov-action@v1