diff --git a/.github/workflows/package_linter.yml b/.github/workflows/package_linter.yml index 9498bca..6126a95 100644 --- a/.github/workflows/package_linter.yml +++ b/.github/workflows/package_linter.yml @@ -1,9 +1,12 @@ name: YunoHost apps package linter on: + push: + branches: + - main + pull_request: schedule: - cron: '0 8 * * *' - push: jobs: test: diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index f962bd9..6e1050a 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -17,6 +17,11 @@ jobs: python-version: ["3.10", "3.9", "3.8", "3.7"] steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'fetch master' + run: | + git fetch origin master - name: 'Set up Python ${{ matrix.python-version }}' uses: actions/setup-python@v2 with: @@ -36,7 +41,7 @@ jobs: make pytest - name: 'Upload coverage report' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v2 with: fail_ci_if_error: false verbose: true