mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Finer control over when checks are done
This commit is contained in:
parent
d5a84ae09f
commit
838177f974
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@ -7,12 +7,13 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
issue_comment:
|
||||
types: [created, edited, deleted]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
build-nix-21-05:
|
||||
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '+build')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
@ -24,6 +25,7 @@ jobs:
|
||||
- run: nix-shell --run "echo OK"
|
||||
|
||||
build-nix-unstable:
|
||||
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '+build')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
@ -34,18 +36,3 @@ jobs:
|
||||
- run: nix-build release.nix
|
||||
- run: nix-shell --run "echo OK"
|
||||
|
||||
run-make-all:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: self-hosted
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
clean: false
|
||||
- name: Make all
|
||||
run: |
|
||||
make pygments
|
||||
./french_law/python/setup_env.sh
|
||||
OCAMLRUNPARAM=b opam exec -- make all -B
|
||||
|
29
.github/workflows/run-make-all.yml
vendored
Normal file
29
.github/workflows/run-make-all.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: CI
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: *
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
run-make-all:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: self-hosted
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
clean: false
|
||||
- name: Make all
|
||||
run: |
|
||||
make pygments
|
||||
./french_law/python/setup_env.sh
|
||||
OCAMLRUNPARAM=b opam exec -- make all -B
|
Loading…
Reference in New Issue
Block a user