[CI/CD][Fix] Avoid mixing `master` and `dev`
- The `dev` images must be created from `dev` - Coverage information should be from `dev`
This commit is contained in:
parent
8cc3ff7237
commit
8948b6222b
|
|
@ -93,6 +93,8 @@ jobs:
|
||||||
# Important! empty directories are skipped!!!!
|
# Important! empty directories are skipped!!!!
|
||||||
path: output
|
path: output
|
||||||
- name: Upload Coverage
|
- name: Upload Coverage
|
||||||
|
# Don't mix stable coverage with development coverage
|
||||||
|
if: github.ref == 'refs/heads/dev'
|
||||||
env:
|
env:
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
COVERALLS_FLAG_NAME: ${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
COVERALLS_FLAG_NAME: ${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
||||||
|
|
@ -111,6 +113,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: setsoft/kicad_auto_test:ki6
|
container: setsoft/kicad_auto_test:ki6
|
||||||
needs: test
|
needs: test
|
||||||
|
# Don't mix stable coverage with development coverage
|
||||||
|
if: github.ref == 'refs/heads/dev'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
@ -169,6 +173,8 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: read
|
contents: read
|
||||||
|
# Don't create `dev` images using the `master`
|
||||||
|
if: github.ref == 'refs/heads/dev'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
|
|
@ -213,6 +219,8 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: read
|
contents: read
|
||||||
|
# Don't create `dev` images using the `master`
|
||||||
|
if: github.ref == 'refs/heads/dev'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
|
|
@ -257,6 +265,8 @@ jobs:
|
||||||
name: Finish Coveralls
|
name: Finish Coveralls
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Don't mix stable coverage with development coverage
|
||||||
|
if: github.ref == 'refs/heads/dev'
|
||||||
steps:
|
steps:
|
||||||
- name: Finished
|
- name: Finished
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue