Skip to content

Commit

Permalink
✅ update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuGilet committed Dec 21, 2023
1 parent 7e818e7 commit 5445d7c
Show file tree
Hide file tree
Showing 41 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions test/acceptance/scripts/data/clean_repository.git/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
repositoryformatversion = 0
filemode = true
bare = true
[remote "origin"]
url = https://github.com/1024pix/pix-bot-publish-test
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# pack-refs with: peeled fully-peeled sorted
110dc9e393dfa30e6842fd8a1cd8c27868d0ab87 refs/heads/dev
7f29c70c6ca9a8de57c3ddd78d793505229f73b8 refs/heads/PIX-9196-add-1d-and-adit-logger-folders
dd659e156ab76dfafe2c6d201108eed018e92a57 refs/heads/dev
550e3e797395f919cb6c1f642c2930fbd0401118 refs/heads/first-pull-request
e59897acf095ae901ccf68380fd86823b660ab9b refs/heads/hotfix-index-pix-app
16f5e5de9ca92879b51436996560cda35427fcf5 refs/heads/renovate/configure
6454dc1dd1053b675e90eabe37ec0a4c4b2ab37f refs/tags/v0.1.0
^7105204784051b0732f3d599c94dce468b868c12
e59897acf095ae901ccf68380fd86823b660ab9b refs/tags/v0.1.1
Empty file.
Empty file.
7 changes: 5 additions & 2 deletions test/acceptance/scripts/publish_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const scriptName = 'publish.sh';
// and the cloned one on data/clean_repository.git
// rm -rf data/clean_repository.git
// git clone --bare https://github.com/1024pix/pix-bot-publish-test data/clean_repository.git
// Make sure that empty folders on the bare git repostory have a .gitkeep file
// Make sure that empty folders on the bare git repository have a .gitkeep file
// Have a nice day
describe('Acceptance | Scripts | publish.sh', function () {
this.timeout(30000);
Expand Down Expand Up @@ -73,7 +73,7 @@ describe('Acceptance | Scripts | publish.sh', function () {
'Updated CHANGELOG.md',
'Set Git user information',
/A minor is being released to 0.2.0.$/,
' 9 files changed, 14 insertions(+), 8 deletions(-)',
' 11 files changed, 19 insertions(+), 10 deletions(-)',
'Created the release commit',
'Created annotated tag',
'Pushed release commit to the origin',
Expand All @@ -96,6 +96,9 @@ describe('Acceptance | Scripts | publish.sh', function () {
### :rocket: Amélioration
- [#1](https://github.com/1024pix/pix-bot-publish-test/pull/1) [FEATURE] Ajout d'un index pour Pix App.
### :building_construction: Tech
- [#4](https://github.com/1024pix/pix-bot-publish-test/pull/4) [TECH] Add 1d/ and audit-logger/ folders.
`);
});
});
7 changes: 6 additions & 1 deletion test/acceptance/scripts/release-pix-repo_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ describe('Acceptance | Scripts | release-pix-repo.sh', function () {
'v0.2.0',
'v0.2.0',
'v0.2.0',
'v0.2.0',
'v0.2.0',
'Writing to CHANGELOG.md',
'Updated CHANGELOG.md',
/A minor is being released to 0.2.0.$/,
' 9 files changed, 14 insertions(+), 8 deletions(-)',
' 11 files changed, 19 insertions(+), 10 deletions(-)',
'Created the release commit',
'Created annotated tag',
'Pushed release commit to the origin',
Expand All @@ -93,6 +95,9 @@ describe('Acceptance | Scripts | release-pix-repo.sh', function () {
### :rocket: Amélioration
- [#1](https://github.com/1024pix/pix-bot-publish-test/pull/1) [FEATURE] Ajout d'un index pour Pix App.
### :building_construction: Tech
- [#4](https://github.com/1024pix/pix-bot-publish-test/pull/4) [TECH] Add 1d/ and audit-logger/ folders.
`);
});
});

0 comments on commit 5445d7c

Please sign in to comment.