Merge pull request #5 from philippebureau/global_vars_update #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
name: Test the upcoming changes | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
dev: | |
env: | |
LABPASSPHRASE: ${{ secrets.LABPASSPHRASE }} | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Hi | |
run: echo "Hello World!" | |
# - name: Checkout | |
# uses: actions/checkout@v3 | |
# - name: Setup Python | |
# uses: actions/setup-python@v3 | |
# - name: Install Python requirements | |
# run: pip3 install -r requirements.txt | |
# - name: Run pre-commit on files | |
# uses: pre-commit/action@v3.0.0 | |
# - name: Check paths for sites/site_1 | |
# uses: dorny/paths-filter@v2 | |
# id: filter-site1 | |
# with: | |
# filters: | | |
# workflows: | |
# - 'sites/site_1/**' | |
# - name: Check paths for sites/site_2 | |
# uses: dorny/paths-filter@v2 | |
# id: filter-site2 | |
# with: | |
# filters: | | |
# workflows: | |
# - 'sites/site_2/**' | |
# - name: Install collections | |
# run: ansible-galaxy collection install -r requirements.yml | |
# if: steps.filter-site1.outputs.workflows == 'true' || steps.filter-site2.outputs.workflows == 'true' | |
# - name: Test configuration for site1 | |
# run: make build-site-1 | |
# if: steps.filter-site1.outputs.workflows == 'true' | |
# - name: Test configuration for site2 | |
# run: make build-site-2 | |
# if: steps.filter-site2.outputs.workflows == 'true' |