mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
bugfix workflow
This commit is contained in:
parent
7a9b3f4bdf
commit
6b9f6cd019
2 changed files with 10 additions and 2 deletions
5
.github/workflows/package_linter.yml
vendored
5
.github/workflows/package_linter.yml
vendored
|
@ -1,9 +1,12 @@
|
||||||
name: YunoHost apps package linter
|
name: YunoHost apps package linter
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8 * * *'
|
- cron: '0 8 * * *'
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
7
.github/workflows/pytest.yml
vendored
7
.github/workflows/pytest.yml
vendored
|
@ -17,6 +17,11 @@ jobs:
|
||||||
python-version: ["3.10", "3.9", "3.8", "3.7"]
|
python-version: ["3.10", "3.9", "3.8", "3.7"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: 'fetch master'
|
||||||
|
run: |
|
||||||
|
git fetch origin master
|
||||||
- name: 'Set up Python ${{ matrix.python-version }}'
|
- name: 'Set up Python ${{ matrix.python-version }}'
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
@ -36,7 +41,7 @@ jobs:
|
||||||
make pytest
|
make pytest
|
||||||
|
|
||||||
- name: 'Upload coverage report'
|
- name: 'Upload coverage report'
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue