Skip to content

Commit

Permalink
test calling the pipeline multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
epassaro committed Feb 22, 2022
1 parent a399a80 commit 5a55a00
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .azure-pipelines/update-refdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,23 @@ jobs:
- bash: |
cd $(refdata.dir)
git remote add fork https://$(bot_token)@github.com/tardis-bot/tardis-refdata
git checkout -b pr-$(pr.number)
git checkout -B pr-$(pr.number)
displayName: 'Set up new branch'
- bash: |
cd $(tardis.dir)
source activate tardis
pytest tardis --tardis-refdata=$(refdata.dir) --generate-reference
displayName: 'Generate reference data on a new branch'
#- bash: |
# cd $(tardis.dir)
# source activate tardis
# pytest tardis --tardis-refdata=$(refdata.dir) --generate-reference
# displayName: 'Generate reference data on a new branch'

- bash: |
cd $(refdata.dir)
touch bar.txt
git add -A
git config --local user.email "tardis.sn.bot@gmail.com"
git config --local user.name "tardis-bot"
git commit -m "Automated Update (PR $(pr.number))"
git push fork pr-$(pr.number)
git push fork pr-$(pr.number) -f
displayName: 'Commit new reference data'
- bash: |
Expand Down

0 comments on commit 5a55a00

Please sign in to comment.