Last active
February 12, 2022 21:05
-
-
Save mariushoch/203e7b65b1d6059cdaaf6e824d9eaccf to your computer and use it in GitHub Desktop.
Smoke tests for the Wikibase entity dump generation
This file contains hidden or 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
[email protected] | |
45 10 * * 4 nice -n19 bash $HOME/bin/wikibase-dump-generation-smoke-tests |
This file contains hidden or 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