Smoke tests for the Wikibase entity dump generation
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
MAILTO=foo@bar.invalid | |
45 10 * * 4 nice -n19 bash $HOME/bin/wikibase-dump-generation-smoke-tests |
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
#!/bin/bash | |
set -e | |
cd "$HOME/wikidata-dump-generation-smoke-tests" | |
export https_proxy=http://webproxy:8080 | |
git fetch | |
if [[ ! "$(git log HEAD..origin/main)" == "" ]]; then | |
echo "New commits, please rebase:" | |
git log --format=oneline HEAD..origin/main | |
fi | |
echo | |
echo | |
./wikidata-dump-generation-smoke-tests --test-wikidata | |
./wikidata-dump-generation-smoke-tests --test-commons | |
echo | |
echo "Success!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment