update github actions

This commit is contained in:
JensDiemer 2022-10-03 19:34:44 +02:00
parent 09059ea906
commit b5f5e19745

View file

@ -3,7 +3,7 @@ name: pytest
on: on:
push: push:
branches: branches:
- main - master
pull_request: pull_request:
schedule: schedule:
- cron: '0 8 * * *' - cron: '0 8 * * *'
@ -16,9 +16,14 @@ jobs:
matrix: matrix:
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@v1 - 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@v1 uses: actions/setup-python@v2
with: with:
python-version: '${{ matrix.python-version }}' python-version: '${{ matrix.python-version }}'
@ -29,7 +34,7 @@ jobs:
- name: 'Install package' - name: 'Install package'
run: | run: |
make install-poetry pip3 install poetry
make install make install
- name: 'List installed packages' - name: 'List installed packages'