Add test projects which test the 'future' config option

This commit is contained in:
Jess Bees
2022-02-02 11:59:50 -05:00
parent d0debd29ca
commit 12272ee8f1
12 changed files with 245 additions and 0 deletions
+47
View File
@@ -155,3 +155,50 @@ jobs:
run: |
./bin/compare_expected_output ./test_projects/${{env.TEST_NAME}}
test-future-false:
runs-on: ubuntu-latest
env:
TEST_NAME: future-false
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Render Action Metadata
run: |
./bin/render_action_metadata Dockerfile > action.yml
- name: Test ${{ env.TEST_NAME }} Project
uses: ./
with:
source: ./test_projects/${{ env.TEST_NAME }}
destination: ./test_projects/${{ env.TEST_NAME }}/_site
build_revision: JEKYLL_BUILD_REVISION
token: ${{ secrets.GITHUB_TOKEN }}
- name: Verify output
run: |
./bin/compare_expected_output ./test_projects/${{env.TEST_NAME}}
test-future-true:
runs-on: ubuntu-latest
env:
TEST_NAME: future-true
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Render Action Metadata
run: |
./bin/render_action_metadata Dockerfile > action.yml
- name: Test ${{ env.TEST_NAME }} Project
uses: ./
with:
source: ./test_projects/${{ env.TEST_NAME }}
destination: ./test_projects/${{ env.TEST_NAME }}/_site
build_revision: JEKYLL_BUILD_REVISION
token: ${{ secrets.GITHUB_TOKEN }}
- name: Verify output
run: |
./bin/compare_expected_output ./test_projects/${{env.TEST_NAME}}