Skip to content

Commit

Permalink
Fix yaml indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Jul 28, 2023
1 parent 308599a commit a619612
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/asv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,26 @@ jobs:
- name: Run ASV for current branch
run: asv run --config $ASV_CONFIG_FILE -v

asv-run-main:
if: ${{ github.event_name == 'push' }}
needs: install-dependencies
# TODO: Load dependencies from prev. job
steps:
- name: Generate HTML
run: asv publish --config $ASV_CONFIG_FILE -v
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: $GENERATED_HTML_DIR

asv-pull-request:
if: ${{ github.event_name == 'pull_request' }}
needs: install-dependencies
# TODO: Load dependencies from prev. job
steps:
- name: Run comparison against main branch
run: asv compare --config $ASV_CONFIG_FILE -v main HEAD
- name: Publish comment to PR
run: |
echo "Publishing performance comparison comment..."
asv-run-main:
if: ${{ github.event_name == 'push' }}
needs: install-dependencies
# TODO: Load dependencies from prev. job
steps:
- name: Generate HTML
run: asv publish --config $ASV_CONFIG_FILE -v
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: $GENERATED_HTML_DIR

asv-run-pr:
if: ${{ github.event_name == 'pull_request' }}
needs: install-dependencies
# TODO: Load dependencies from prev. job
steps:
- name: Run comparison against main branch
run: asv compare --config $ASV_CONFIG_FILE -v main HEAD
- name: Publish comment to PR
run: |
echo "Publishing performance comparison comment..."

0 comments on commit a619612

Please sign in to comment.