CI Full Run #20
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
name: "CI Full Run" | |
on: | |
pull_request: | |
branches: | |
- main | |
- grok/*/* | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Create dummy file | |
run: echo "dummy" > dummy.txt | |
- name: Test store | |
uses: ./ | |
with: | |
action: "store" | |
storage-host: "" | |
- name: Remove dummy file | |
run: rm dummy.txt | |
- name: Test load | |
uses: ./ | |
with: | |
action: "load" | |
storage-host: "" | |
- name: Check that dummy file was restored | |
run: | | |
ls -la ~/ci-storage | |
[ "$(cat dummy.txt)" = "dummy" ] || { echo "dummy.txt was not restored"; exit 1; } |