File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches-ignore :
66 - main
7- tags :
8- - ' *'
97 workflow_dispatch : {}
108
119jobs :
12- run_tests :
13- runs-on : ubuntu-latest
14- steps :
15- - name : Checkout code
16- uses : actions/checkout@v4
17- - name : Install Docker Compose
18- run : |
19- curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m) > ~/docker-compose
20- chmod +x ~/docker-compose
21- sudo mv ~/docker-compose /usr/local/bin/docker-compose
22- - name : Build the app
23- run : make up
24- - name : Install Solr Documents
25- run : make load-data
26- - name : Run relevancy Tests
27- run : make test
28-
2910 run_deploy :
3011 needs : run_tests
3112 runs-on : ubuntu-latest
13+
3214 steps :
3315 - name : Check if tag is on main
3416 id : check_main
6143 SOLR_USER : ${{ secrets.SOLR_USER }}
6244 SOLR_PASSWORD : ${{ secrets.SOLR_PASSWORD }}
6345 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64- run : bash .github/workflows/deploy.sh
46+ run : bash .github/workflows/scripts/ deploy.sh
File renamed without changes.
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
7+ workflow_dispatch : {}
8+
9+ jobs :
10+ run_tests :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+ - name : Install Docker Compose
16+ run : |
17+ curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m) > ~/docker-compose
18+ chmod +x ~/docker-compose
19+ sudo mv ~/docker-compose /usr/local/bin/docker-compose
20+ - name : Build the app
21+ run : make up
22+ - name : Install Solr Documents
23+ run : make load-data
24+ - name : Run relevancy Tests
25+ run : make test
You can’t perform that action at this time.
0 commit comments