-
Notifications
You must be signed in to change notification settings - Fork 13
46 lines (37 loc) · 1.12 KB
/
test-dev-deployment.yml
File metadata and controls
46 lines (37 loc) · 1.12 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Integration Tests for Development API
permissions:
contents: read
on:
schedule:
- cron: '*/30 * * * *'
workflow_dispatch:
jobs:
integration_tests:
if: ${{ github.repository == 'nsls2/nsls2api' }} # Do not run on forks
runs-on: self-hosted
steps:
- name: Print hostname
run: echo "The hostname is $(hostname)"
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '21'
- name: Download ijhttp.zip
run: curl -f -L -o ijhttp.zip "https://jb.gg/ijhttp/latest"
- name: Unzip ijhttp.zip
run: unzip -q ijhttp.zip
- name: Beamline endpoint tests
run: |
./ijhttp/ijhttp --env-file ./integration-tests/http-client.env.json \
--env dev \
./integration-tests/check_all_beamlines.http
- name: Check API Service
run: |
./ijhttp/ijhttp --env-file ./integration-tests/http-client.env.json \
--env dev \
./integration-tests/check_service_health.http