mirror of
https://github.com/inventree/inventree-app.git
synced 2025-10-14 05:12:21 +00:00
Re-order barcode scanning priority (#693)
* Re-order barcode scanning priority - Closes https://github.com/inventree/inventree-app/issues/692 * dart format * Try with removed line * Try without pythonscript * just pub get * try with fvm * Remove fvm * set working dir * try just pub get * Install python first * Updates * Use fvm * Adjust CI
This commit is contained in:
23
.github/workflows/ci.yaml
vendored
23
.github/workflows/ci.yaml
vendored
@@ -30,6 +30,11 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
@@ -53,20 +58,18 @@ jobs:
|
||||
- name: Collect Translation Files
|
||||
run: |
|
||||
cd lib/l10n
|
||||
python3 collect_translations.py
|
||||
python collect_translations.py
|
||||
|
||||
- name: Static Analysis Tests
|
||||
working-directory: .
|
||||
run: |
|
||||
python3 find_dart_files.py
|
||||
flutter pub get
|
||||
flutter analyze
|
||||
python ./find_dart_files.py
|
||||
dart pub global activate fvm
|
||||
fvm install
|
||||
fvm flutter pub get
|
||||
fvm flutter analyze
|
||||
dart format --output=none --set-exit-if-changed .
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Start InvenTree Server
|
||||
run: |
|
||||
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++
|
||||
@@ -82,7 +85,7 @@ jobs:
|
||||
|
||||
- name: Unit Tests
|
||||
run: |
|
||||
flutter test --coverage
|
||||
fvm flutter test --coverage
|
||||
|
||||
- name: Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
|
Reference in New Issue
Block a user