File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1515 - uses : actions/setup-python@v2
1616 with :
1717 python-version : " 3.7"
18+ - name : Install actionlint
19+ run : |
20+ bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.3/scripts/download-actionlint.bash)
1821 -
uses :
pre-commit/[email protected] 1922 test-unit :
2023 name : Unit tests on ${{ matrix.platform }} using Python ${{ matrix.python-version }}
@@ -37,10 +40,12 @@ jobs:
3740 run : curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
3841 - name : Install Code
3942 run : |
43+ # shellcheck disable=SC1090
4044 source "$HOME/.poetry/env"
4145 poetry install
4246 - name : Run pytest
4347 run : |
48+ # shellcheck disable=SC1090
4449 source "$HOME/.poetry/env"
4550 poetry run pytest --junitxml=test-results/junit.xml
4651 - uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -44,3 +44,12 @@ repos:
4444 rev : 4.0.1
4545 hooks :
4646 - id : flake8
47+ - repo : local
48+ hooks :
49+ - id : actionlint
50+ name : actionlint
51+ entry : actionlint
52+ args : [-ignore, 'property ".+" is not defined in object type']
53+ language : script
54+ types : ["yaml"]
55+ files : ^.github/workflows/
You can’t perform that action at this time.
0 commit comments