-
Notifications
You must be signed in to change notification settings - Fork 7
29 lines (22 loc) · 1.24 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
sparql:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Run default query
run: curl --silent --fail --data-urlencode "query=$(cat $GITHUB_WORKSPACE/queries/default.sparql)" "https://query.wikidata.org/sparql?format=json" -o /dev/null
- name: Run en query
run: curl --silent --fail --data-urlencode "query=$(cat $GITHUB_WORKSPACE/queries/en.sparql)" "https://query.wikidata.org/sparql?format=json" -o /dev/null
- name: Run de query
run: curl --silent --fail --data-urlencode "query=$(cat $GITHUB_WORKSPACE/queries/de.sparql)" "https://query.wikidata.org/sparql?format=json" -o /dev/null
#- name: Run withoutdescriptions query
# run: curl --silent --fail --data-urlencode "query=$(cat $GITHUB_WORKSPACE/queries/withoutdescriptions.sparql)" "https://query.wikidata.org/sparql?format=json" -o /dev/null
- name: Run langcodes query
run: curl --silent --fail --data-urlencode "query=$(cat $GITHUB_WORKSPACE/queries/langcodes.sparql)" "https://query.wikidata.org/sparql?format=json" -o /dev/null