Skip to content

Commit

Permalink
Merge pull request #16 from joergi/ISSUE_15_-test-if-downloaded-file-…
Browse files Browse the repository at this point in the history
…exists-in-testing

test if downloaded file exists in testing close #15
  • Loading branch information
joergi authored Jul 24, 2020
2 parents 0e18345 + c437025 commit 6558250
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
41 changes: 37 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion issues.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32
33

0 comments on commit 6558250

Please sign in to comment.