Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
ecfdc8e
feat: test post-run push
marom-sprkl Aug 21, 2022
eed7d59
fix: change order of Sprkl Push action at ci-test.yml
marom-sprkl Aug 21, 2022
1bdc850
feat: test post-run push2
marom-sprkl Aug 22, 2022
0ef591d
feat: test setup and post-run push action
marom-sprkl Aug 22, 2022
5484567
fix: change commit version at ci-test.yml
marom-sprkl Aug 22, 2022
58ee15d
test ci-test.yml
marom-sprkl Aug 22, 2022
bb015aa
fix: change commit version in ci-test.yml
marom-sprkl Aug 22, 2022
5baea68
test: test setup-and-push action
marom-sprkl Aug 22, 2022
d5c87d8
test: test sprkl action at setup-push-test.yml
marom-sprkl Aug 23, 2022
6c7e659
test: change commit version to test setup action at setup-push-test.yml
marom-sprkl Aug 23, 2022
767d914
test: change commit vesrion to test setup action at setup-push-test.yml
marom-sprkl Aug 23, 2022
0b1616b
test: change commit vesrion to test setup action at setup-push-test.yml2
marom-sprkl Aug 23, 2022
193068c
test: test sprkl setup action
marom-sprkl Aug 23, 2022
0340ae0
test1
marom-sprkl Aug 23, 2022
5463431
test: test eventHandler function
marom-sprkl Aug 23, 2022
ebb8f99
test: test eventHandler function2
marom-sprkl Aug 23, 2022
58c72f3
test: test eventHandler function3
marom-sprkl Aug 23, 2022
5468de6
test: test eventHandler function4
marom-sprkl Aug 23, 2022
1053e5c
test: test eventHandler function5
marom-sprkl Aug 23, 2022
ae240f2
refactor: update the use of setup action in test at ci.yml
marom-sprkl Aug 24, 2022
61d56b4
test: test event push
marom-sprkl Aug 24, 2022
b34da07
test: test event push - part 2
marom-sprkl Aug 24, 2022
8ba0b1b
test: add action test to pull request event
marom-sprkl Aug 24, 2022
88828fc
fix: fix commit id at test-pull-requst.yml
marom-sprkl Aug 24, 2022
6f3994a
fix: fix commit id at test-pull-requst.yml2
marom-sprkl Aug 24, 2022
850e5f9
fix: fix commit id at test-pull-requst.yml3
marom-sprkl Aug 24, 2022
3219e26
fix: fix commit id at test-pull-requst.yml4
marom-sprkl Aug 24, 2022
1b81f3a
fix: fix commit id at test-pull-requst.yml5
marom-sprkl Aug 24, 2022
31a2323
fix: fix commit id at test-pull-requst.yml6
marom-sprkl Aug 24, 2022
fe798b7
test: get pull request commits at main.ts3
marom-sprkl Aug 24, 2022
2196785
test: test default event handler at default-event-handler.yml
marom-sprkl Aug 24, 2022
6e9cb50
test: test default event handler at default-event-test.yml2
marom-sprkl Aug 24, 2022
df82870
test: update number of commits of pull request handler at test-pull-r…
marom-sprkl Aug 24, 2022
b089bb7
test: test default event handler at default-event-test.yml3
marom-sprkl Aug 24, 2022
3a8702b
test: test default event handler at default-event-test.yml4
marom-sprkl Aug 24, 2022
0424811
test: update number of commits of pull request handler at test-pull-r…
marom-sprkl Aug 24, 2022
ed5ca01
fix: fix commit id at test files
marom-sprkl Aug 24, 2022
3b3806f
fix: fix commit id at test files
marom-sprkl Aug 24, 2022
1b76da7
test: echo sprkl env vars at tests
marom-sprkl Aug 24, 2022
b951309
test: change commit id at tests file
marom-sprkl Aug 25, 2022
7abc444
test: test sprkl action at tests files
marom-sprkl Aug 25, 2022
77cda65
test: fix commit version at tests files
marom-sprkl Aug 25, 2022
4ef129a
test: change commit id at tests file
marom-sprkl Aug 28, 2022
6f31af5
test: change action steps at default-event-test.yml
marom-sprkl Aug 28, 2022
29c61ec
test: change action steps at default-event-test.yml2
marom-sprkl Aug 28, 2022
4dafb86
test: change commit id at tests file
marom-sprkl Aug 28, 2022
ee9cb1e
test: change commit id at tests file
marom-sprkl Aug 28, 2022
03cf9ba
test: change commit id at tests file3
marom-sprkl Aug 28, 2022
47742fd
test: change commit id at tests file4
marom-sprkl Aug 28, 2022
2570c25
test: change commit id at tests file5
marom-sprkl Aug 29, 2022
fa647bb
test: change commit id at tests file7
marom-sprkl Aug 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,11 @@ jobs:

- uses: actions/checkout@v3


- name: Sprkl Setup
uses: sprkl-dev/sprkl-action/setup@v0.0.30
uses: sprkl-dev/sprkl-action/setup@master
with:
npm_token: ${{ secrets.SPRKL_NPM_TOKEN }}
setenv: false
analyze: false
token: ${{ secrets.SPRKL_CI_TOKEN }}

- run: yarn install
- run: yarn test:e2e:sprkl

- name: Sprkl Push
uses: sprkl-dev/sprkl-action/push@v0.0.30
with:
token: ${{ secrets.SPRKL_CI_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/default-event-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
pull_request_review:
types: [submitted, edited]
jobs:
install-sprkl-test:
runs-on: ubuntu-latest
name: Installing Sprkl Testing
steps:

- uses: actions/checkout@v3


- name: Sprkl Setup
uses: sprkl-dev/sprkl-action/setup@19f649081bea28e51b994628f339fc493dee37e3
with:
recipe: rec
analyze: false
token: ${{ secrets.SPRKL_CI_TOKEN }}

- run: echo $SPRKL_RECIPE
- run: echo $SPRKL_COMMITS

- run: yarn install
- run: yarn test:e2e:sprkl


27 changes: 27 additions & 0 deletions .github/workflows/setup-push-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
branches:
- '**'
jobs:
install-sprkl-test:
runs-on: ubuntu-latest
name: Installing Sprkl Testing
steps:

- uses: actions/checkout@v3


- name: Sprkl Setup
uses: sprkl-dev/sprkl-action/setup@master
with:
analyze: true
analysisCwd: "./catalog"
token: ${{ secrets.SPRKL_CI_TOKEN }}

- run: echo $SPRKL_RECIPE
- run: echo $SPRKL_COMMITS

- run: yarn install
- run: yarn test:e2e:sprkl


26 changes: 26 additions & 0 deletions .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
pull_request:
types: [opened, reopened]
jobs:
install-sprkl-test:
runs-on: ubuntu-latest
name: Installing Sprkl Testing
steps:

- uses: actions/checkout@v3


- name: Sprkl Setup
uses: sprkl-dev/sprkl-action/setup@a2e15cba88ea047cae5a0a718b2161b4154b00e1
with:
analyze: false
token: ${{ secrets.SPRKL_CI_TOKEN }}

- run: echo $SPRKL_RECIPE
- run: echo $SPRKL_COMMITS
- run: sprkl apply --log-level=debug

- run: yarn install
- run: yarn test:e2e:sprkl


10 changes: 0 additions & 10 deletions package-lock.json

This file was deleted.

1 change: 1 addition & 0 deletions tests/base.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const order = {
}

test('PlaceOrder', async () => {
fail('reason');
const res = await axios.post(ORDERS_URL, order, config);
expect(res.status).toBe(200)
})
Expand Down
Loading