This repository was archived by the owner on Jun 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 11# This workflow will install Python dependencies, run tests and lint with a single version of Python
22# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33
4- name : Python application
4+ name : Runestone Server Tests
55
66on :
77 push :
1818 LANG : en_US.UTF-8
1919 WEB2PY_VERSION : 2.20.4
2020 COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
21+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK }}
2122 steps :
2223 - uses : actions/checkout@v2
2324 -
uses :
Harmon758/[email protected] @@ -30,11 +31,18 @@ jobs:
3031 java-version : 1.8
3132 java-package : jre
3233 -
uses :
supercharge/[email protected] 34+ - uses : act10ns/slack@v1
35+ with :
36+ status : starting
37+ channel : " #builds"
38+ if : always()
39+
3340 - name : Set up Python 3.8
3441 uses : actions/setup-python@v2
3542 with :
3643 python-version : 3.8
3744 - name : Install dependencies
45+ id : setup-environment
3846 run : |
3947 python -m pip install --upgrade pip
4048 pip install flake8 pytest
5260 cp applications/runestone/tests/.coveragerc .
5361
5462 - name : Test with pytest
63+ id : pytest
5564 run : |
5665 cd web2py
5766 echo $TEST_DBURL
5867 pytest -v applications/runestone/tests
68+
69+ - uses : act10ns/slack@v1
70+ with :
71+ status : ${{ job.status }}
72+ steps : ${{ toJson(steps) }}
73+ channel : " #builds"
74+ if : always()
You can’t perform that action at this time.
0 commit comments