File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Run Continuous Integration on every push
2+ name : continuous_integration
3+ on : [push, pull_request]
4+ jobs :
5+ build :
6+ runs-on : ubuntu-latest
7+
8+ steps :
9+ - uses : actions/checkout@v2
10+
11+ - name : Run the test suite
12+ run : |
13+ cd $GITHUB_WORKSPACE
14+ pip3 install pip setuptools wheel
15+ python3 setup.py test
16+
17+ - name : Upload coverage report to Codacy
18+ uses : codacy/codacy-coverage-reporter-action@master
19+ with :
20+ project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
Original file line number Diff line number Diff line change 1+ # Run Continuous Integration on every push
2+ # This tests Python 3.5.1
3+ name : python_compatibility_3.5.1
4+ on : [push, pull_request]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : Cache Python 3.5.1 eggs
13+ uses : actions/cache@v1
14+ with :
15+ path : ${{ github.workspace }}/.eggs
16+ key : python-compatibility-3.5.1-eggs
17+
18+ - name : Run tests on 3.5.1 latest
19+ run : docker run -v "${GITHUB_WORKSPACE}:/home/ymmsl-python" python:3.5.1 /bin/bash -c 'cd /home/ymmsl-python && pip install -U pip setuptools wheel && python setup.py test'
Original file line number Diff line number Diff line change 1+ # Run Continuous Integration on every push
2+ # This tests Python 3.5
3+ name : python_compatibility_3.5
4+ on : [push, pull_request]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : Cache Python 3.5 eggs
13+ uses : actions/cache@v1
14+ with :
15+ path : ${{ github.workspace }}/.eggs
16+ key : python-compatibility-3.5-eggs
17+
18+ - name : Run tests on 3.5 latest
19+ run : docker run -v "${GITHUB_WORKSPACE}:/home/ymmsl-python" python:3.5 /bin/bash -c 'cd /home/ymmsl-python && pip install -U pip setuptools wheel && python setup.py test'
Original file line number Diff line number Diff line change 1+ # Run Continuous Integration on every push
2+ # This tests Python 3.6.1
3+ name : python_compatibility_3.6.1
4+ on : [push, pull_request]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : Cache Python 3.6.1 eggs
13+ uses : actions/cache@v1
14+ with :
15+ path : ${{ github.workspace }}/.eggs
16+ key : python-compatibility-3.6-eggs
17+
18+ - name : Run tests on 3.6.1 latest
19+ run : docker run -v "${GITHUB_WORKSPACE}:/home/ymmsl-python" python:3.6.1 /bin/bash -c 'cd /home/ymmsl-python && pip install -U pip setuptools wheel && python setup.py test'
Original file line number Diff line number Diff line change 1+ # Run Continuous Integration on every push
2+ # This tests Python 3.6
3+ name : python_compatibility_3.6
4+ on : [push, pull_request]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : Cache Python 3.6 eggs
13+ uses : actions/cache@v1
14+ with :
15+ path : ${{ github.workspace }}/.eggs
16+ key : python-compatibility-3.6-eggs
17+
18+ - name : Run tests on 3.6 latest
19+ run : docker run -v "${GITHUB_WORKSPACE}:/home/ymmsl-python" python:3.6 /bin/bash -c 'cd /home/ymmsl-python && pip install -U pip setuptools wheel && python setup.py test'
Original file line number Diff line number Diff line change 1+ # Run Continuous Integration on every push
2+ # This tests Python 3.7
3+ name : python_compatibility_3.7
4+ on : [push, pull_request]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : Cache Python 3.7 eggs
13+ uses : actions/cache@v1
14+ with :
15+ path : ${{ github.workspace }}/.eggs
16+ key : python-compatibility-3.7-eggs
17+
18+ - name : Run tests on 3.7 latest
19+ run : docker run -v "${GITHUB_WORKSPACE}:/home/ymmsl-python" python:3.7 /bin/bash -c 'cd /home/ymmsl-python && pip install -U pip setuptools wheel && python setup.py test'
Original file line number Diff line number Diff line change 1+ # Run Continuous Integration on every push
2+ # This tests Python 3.8
3+ name : python_compatibility_3.8
4+ on : [push, pull_request]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : Cache Python 3.8 eggs
13+ uses : actions/cache@v1
14+ with :
15+ path : ${{ github.workspace }}/.eggs
16+ key : python-compatibility-3.8-eggs
17+
18+ - name : Run tests on 3.8 latest
19+ run : docker run -v "${GITHUB_WORKSPACE}:/home/ymmsl-python" python:3.8 /bin/bash -c 'cd /home/ymmsl-python && pip install -U pip setuptools wheel && python setup.py test'
You can’t perform that action at this time.
0 commit comments