Skip to content

Commit a35b4fa

Browse files
authored
Run unit tests on external pull requests (#437)
* Run unit tests on external pull requests * Prevent duplicate runs for internal branch PRs * Update changelog Co-authored-by: Michael Chin <chnmch@amazon.com>
1 parent 6bc6082 commit a35b4fa

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/unit.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
name: Unit Tests
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- main
410

511
jobs:
612
unit-tests:
7-
13+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
814
runs-on: ubuntu-latest
915
steps:
1016
- uses: actions/checkout@v2

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Starting with v1.31.6, this file will contain a record of major features and upd
1313
- Excluded certain `itables` versions causing errors in query magics ([PR #1](https://github.com/aws/graph-notebook/pull/429)) ([PR #2](https://github.com/aws/graph-notebook/pull/429))
1414
- Pinned version ceiling for all dependencies ([Link to PR](https://github.com/aws/graph-notebook/pull/431))
1515
- Truncated metadata request/query time metrics ([Link to PR](https://github.com/aws/graph-notebook/pull/425))
16+
- Enabled unit test workflow runs for external pull requests ([Link to PR](https://github.com/aws/graph-notebook/pull/437))
1617

1718
## Release 3.7.0 (December 7, 2022)
1819
- Added Neo4J section to `%%graph_notebook_config` ([Link to PR](https://github.com/aws/graph-notebook/pull/331))

0 commit comments

Comments
 (0)