This commit is contained in:
Will Lachance 2021-08-09 10:02:11 -04:00 коммит произвёл GitHub
Родитель b654dc7413
Коммит 237a2e37e5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 10 добавлений и 3 удалений

1
.coveralls.yml Normal file
Просмотреть файл

@ -0,0 +1 @@
service_name: github-actions

12
.github/workflows/build.yml поставляемый
Просмотреть файл

@ -31,7 +31,6 @@ jobs:
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
strategy:
matrix:
os:
@ -52,13 +51,15 @@ jobs:
run: |
coverage run -m pytest tests
pip install coveralls; coveralls --service=github-actions
env:
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
build-and-test-linux-gui:
runs-on: ubuntu-18.04
env:
DISPLAY: ":99.0"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
TAG: ${{ github.event.release.tag_name }}
steps:
- uses: actions/checkout@v2
@ -83,6 +84,9 @@ jobs:
run: |
coverage run -m pytest -v gui/tests
pip install coveralls; coveralls --service=github-actions
env:
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Get the version
if: startsWith(github.ref, 'refs/tags/')
id: get_version
@ -112,7 +116,6 @@ jobs:
PYTHON_VERSION: 3.9.1
MACOSX_DEPLOYMENT_TARGET: 10.13
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Get Python
@ -137,6 +140,9 @@ jobs:
run: |
coverage run -m pytest -v gui/tests
pip3 install coveralls; coveralls --service=github-actions
env:
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Get the version
if: startsWith(github.ref, 'refs/tags/')
id: get_version