fix runner version

This commit is contained in:
Matthias 2022-05-27 20:39:53 +02:00
parent 0bbe8586bf
commit 31575a03c1
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -14,6 +14,7 @@ on:
env:
python_version: 3.9
node_version: 16
runner_ref: ubuntu-20.04
server_start_sleep: 60
@ -29,7 +30,7 @@ env:
jobs:
pep_style:
name: Python Style (PEP8)
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
steps:
- name: Checkout code
@ -50,7 +51,7 @@ jobs:
javascript:
name: JS Template Files
needs: pep_style
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
steps:
- name: Checkout Code
@ -86,7 +87,7 @@ jobs:
html:
name: HTML Template Files
needs: pep_style
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
steps:
- name: Checkout Code
@ -117,7 +118,7 @@ jobs:
pre-commit:
name: pre-commit
needs: pep_style
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.python_version }}
@ -130,7 +131,7 @@ jobs:
python:
name: Test inventree-python
needs: pre-commit
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
env:
wrapper_name: inventree-python
@ -170,7 +171,7 @@ jobs:
coverage:
name: Tests + Coverage [SQLite]
needs: ['javascript', 'html', 'pre-commit']
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
env:
INVENTREE_DB_NAME: ./inventree.sqlite
@ -216,7 +217,7 @@ jobs:
postgres:
name: Tests [PostgreSQL]
needs: ['javascript', 'html', 'pre-commit']
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
if: github.event_name == 'push'
env:
@ -281,7 +282,7 @@ jobs:
mysql:
name: Tests [MySQL]
needs: ['javascript', 'html', 'pre-commit']
runs-on: ubuntu-latest
runs-on: ${{ runner_ref }}
if: github.event_name == 'push'
env: