mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
refactor: test workflows in PR
This commit is contained in:
parent
8a3c0c9052
commit
496ae19404
16
.github/workflows/build.yaml
vendored
16
.github/workflows/build.yaml
vendored
@ -1,12 +1,16 @@
|
||||
name: Build & Tests
|
||||
|
||||
# TODO(olav): Revert test conditions.
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
# paths-ignore:
|
||||
# - website/**
|
||||
# - coverage/**
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- website/**
|
||||
- coverage/**
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
27
.github/workflows/build_coverage.yaml
vendored
27
.github/workflows/build_coverage.yaml
vendored
@ -1,13 +1,17 @@
|
||||
name: Coverage
|
||||
|
||||
# TODO(olav): Revert test conditions.
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
# paths-ignore:
|
||||
# - website/**
|
||||
# - frontend/**
|
||||
# - coverage/**
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- website/**
|
||||
- frontend/**
|
||||
- coverage/**
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
coverage:
|
||||
@ -57,7 +61,8 @@ jobs:
|
||||
# GH_NAME: 'ivarconr'
|
||||
# GH_EMAIL: 'ivarconr@gmail.com'
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# TODO(olav): Revert test conditions.
|
||||
# - name: Coveralls
|
||||
# uses: coverallsapp/github-action@master
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
16
.github/workflows/codeql-analysis.yml
vendored
16
.github/workflows/codeql-analysis.yml
vendored
@ -11,14 +11,18 @@
|
||||
#
|
||||
name: "CodeQL"
|
||||
|
||||
# TODO(olav): Revert test conditions.
|
||||
#on:
|
||||
# push:
|
||||
# branches: [ main ]
|
||||
# pull_request:
|
||||
# # The branches below must be a subset of the branches above
|
||||
# branches: [ main ]
|
||||
# schedule:
|
||||
# - cron: '23 23 * * 2'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ main ]
|
||||
schedule:
|
||||
- cron: '23 23 * * 2'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
Loading…
Reference in New Issue
Block a user