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 d2dbd71
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions .github/workflows/asv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,28 @@ 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' }}
runs-on: ubuntu-latest
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' }}
runs-on: ubuntu-latest
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 d2dbd71

Please sign in to comment.