-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from joergi/ISSUE_15_-test-if-downloaded-file-…
…exists-in-testing test if downloaded file exists in testing close #15
- Loading branch information
Showing
2 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,30 +25,63 @@ jobs: | |
- name: Download Issues with start limit | ||
id: normalIssuesWithRangeAndStartLimitWindows | ||
shell: pwsh | ||
run: ./downloader.ps1 -f 29 | ||
run: ./downloader.ps1 -f 31 | ||
- name: "Check file existence Windows" | ||
id: check_files | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: "issues/hackspace-magazine-issue-2.pdf, issues/hackspace-magazine-issue-25.pdf, issues/hackspace-magazine-issue-33.pdf" | ||
allow_failure: false | ||
- name: lslah | ||
run: Get-ChildItem issues/ | ||
- name: File exists | ||
if: steps.check_files.outputs.files_exists == 'false' | ||
run: exit 1 | ||
bash-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Download Issues with start limit Linux | ||
id: normalIssuesWithStartLimitLinux | ||
run: ./downloader.sh -f 29 | ||
run: ./downloader.sh -f 31 | ||
- name: Download Issues with end limit Linux | ||
id: normalIssuesWithEndLimitLInux | ||
run: ./downloader.sh -l 2 | ||
- name: Download Issues with start and end limit Linux | ||
id: normalIssuesWithStartAndEndLimitLinux | ||
run: ./downloader.sh -f 24 -l 25 | ||
run: ./downloader.sh -f 26 -l 27 | ||
- name: "Check file existence linux" | ||
id: check_files | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: "issues/HackSpaceMag02.pdf, issues/HackSpaceMagazine27.pdf, issues/HackSpaceMagazine33.pdf" | ||
allow_failure: false | ||
- name: lslah | ||
run: ls -lah issues/ | ||
- name: File exists | ||
if: steps.check_files.outputs.files_exists == 'false' | ||
run: exit 1 | ||
bash-macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Download Issues with start limit Mac | ||
id: normalIssuesWithStartLimitMac | ||
run: ./downloader.sh -f 29 | ||
run: ./downloader.sh -f 32 | ||
- name: Download Issues with start and end limit Mac | ||
id: normalIssuesWithEndLimitMac | ||
run: ./downloader.sh -l 2 | ||
- name: Download Issues with start and end limit Mac | ||
id: normalIssuesWithStartAndEndLimitMac | ||
run: bash ./downloader.sh -f 24 -l 25 | ||
- name: "Check file existence linux" | ||
id: check_files | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: "issues/HackSpaceMag02.pdf, issues/HackSpaceMagazine25.pdf, issues/HackSpaceMagazine33.pdf" | ||
allow_failure: false | ||
- name: lslah | ||
run: ls -lah issues/ | ||
- name: File exists | ||
if: steps.check_files.outputs.files_exists == 'false' | ||
run: exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
32 | ||
33 |