mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
update github actions
This commit is contained in:
parent
09059ea906
commit
b5f5e19745
1 changed files with 9 additions and 4 deletions
13
.github/workflows/pytest.yml
vendored
13
.github/workflows/pytest.yml
vendored
|
@ -3,7 +3,7 @@ name: pytest
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 8 * * *'
|
||||
|
@ -16,9 +16,14 @@ jobs:
|
|||
matrix:
|
||||
python-version: ["3.10", "3.9", "3.8", "3.7"]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- 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@v1
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '${{ matrix.python-version }}'
|
||||
|
||||
|
@ -29,7 +34,7 @@ jobs:
|
|||
|
||||
- name: 'Install package'
|
||||
run: |
|
||||
make install-poetry
|
||||
pip3 install poetry
|
||||
make install
|
||||
|
||||
- name: 'List installed packages'
|
||||
|
|
Loading…
Reference in a new issue