Run integration test on pr approval. (#155)
This commit is contained in:
parent
92ddb90639
commit
f445febdc9
8
.github/workflows/integration.yml
vendored
8
.github/workflows/integration.yml
vendored
@ -1,20 +1,22 @@
|
|||||||
name: integration-test
|
name: integration-test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request_review:
|
||||||
branches: [ "main" ]
|
types: [submitted]
|
||||||
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Specify python/node versions to test against
|
# Specify python/node versions to test against
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
python-version: ["3.8", "3.9", "3.10", "3.11"]
|
||||||
node-version: ["15.x"]
|
node-version: ["15.x"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user