mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #2417 from matmair/pipeline
Pipeline refactor ... again
This commit is contained in:
commit
0c9590ba37
19
.github/workflows/qc_checks.yaml
vendored
19
.github/workflows/qc_checks.yaml
vendored
@ -25,28 +25,9 @@ env:
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
check_version:
|
||||
name: version number
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Check version number
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: |
|
||||
python3 ci/check_version_number.py --branch ${{ github.base_ref }}
|
||||
- name: Finish
|
||||
if: always()
|
||||
run: echo 'done'
|
||||
|
||||
pep_style:
|
||||
name: PEP style (python)
|
||||
needs: check_version
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
21
.github/workflows/version.yml
vendored
Normal file
21
.github/workflows/version.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Checks version number
|
||||
name: version number
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches-ignore:
|
||||
- l10*
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
check_version:
|
||||
name: version number
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Check version number
|
||||
run: |
|
||||
python3 ci/check_version_number.py --branch ${{ github.base_ref }}
|
Loading…
Reference in New Issue
Block a user