mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
make setup actions more similar
This commit is contained in:
42
.github/workflows/qc_checks.yaml
vendored
42
.github/workflows/qc_checks.yaml
vendored
@ -66,10 +66,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ env.python_version }}
|
python-version: ${{ env.python_version }}
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install Dependencies
|
- name: Install OS Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install gettext
|
sudo apt-get install gettext
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
pip3 install invoke
|
pip3 install invoke
|
||||||
invoke update
|
invoke update
|
||||||
- name: Check Templated Files
|
- name: Check Templated Files
|
||||||
@ -100,10 +102,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ env.python_version }}
|
python-version: ${{ env.python_version }}
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install Dependencies
|
- name: Install OS Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install gettext
|
sudo apt-get install gettext
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
pip3 install invoke
|
pip3 install invoke
|
||||||
invoke update
|
invoke update
|
||||||
- name: Check HTML Files
|
- name: Check HTML Files
|
||||||
@ -181,11 +185,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ env.python_version }}
|
python-version: ${{ env.python_version }}
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install Dependencies
|
- name: Install OS Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install gettext
|
sudo apt-get install gettext
|
||||||
python -m pip install -U pip
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
|
python3 -m pip3 install -U pip3
|
||||||
pip3 install invoke
|
pip3 install invoke
|
||||||
invoke update
|
invoke update
|
||||||
- name: Coverage Tests
|
- name: Coverage Tests
|
||||||
@ -245,14 +251,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ env.python_version }}
|
python-version: ${{ env.python_version }}
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install Dependencies
|
- name: Install OS Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libpq-dev gettext
|
sudo apt-get install gettext
|
||||||
python -m pip install -U pip
|
|
||||||
pip3 install invoke
|
sudo apt-get install libpq-dev
|
||||||
|
- name: Install Specific Python Dependencies
|
||||||
|
run: |
|
||||||
pip3 install psycopg2
|
pip3 install psycopg2
|
||||||
pip3 install django-redis>=5.0.0
|
pip3 install django-redis>=5.0.0
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
|
python3 -m pip3 install -U pip3
|
||||||
|
pip3 install invoke
|
||||||
invoke update
|
invoke update
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: invoke test
|
run: invoke test
|
||||||
@ -303,13 +315,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ env.python_version }}
|
python-version: ${{ env.python_version }}
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install Dependencies
|
- name: Install OS Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libmysqlclient-dev gettext
|
sudo apt-get install gettext
|
||||||
python -m pip install -U pip
|
|
||||||
pip3 install invoke
|
sudo apt-get install libmysqlclient-dev
|
||||||
|
- name: Install Specific Python Dependencies
|
||||||
|
run: |
|
||||||
pip3 install mysqlclient
|
pip3 install mysqlclient
|
||||||
|
- name: Install Python Dependencies
|
||||||
|
run: |
|
||||||
|
python3 -m pip3 install -U pip3
|
||||||
|
pip3 install invoke
|
||||||
invoke update
|
invoke update
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: invoke test
|
run: invoke test
|
||||||
|
Reference in New Issue
Block a user