2021-10-07 07:03:48 +03:00
|
|
|
name: Automated HLS tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
2022-06-30 00:34:37 +03:00
|
|
|
- 'web/**'
|
2021-10-07 07:03:48 +03:00
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2022-06-30 00:34:37 +03:00
|
|
|
- 'web/**'
|
|
|
|
|
2021-10-07 07:03:48 +03:00
|
|
|
env:
|
|
|
|
S3_BUCKET: ${{ secrets.S3_BUCKET }}
|
|
|
|
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
|
|
|
|
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
|
|
|
|
S3_REGION: ${{ secrets.S3_REGION }}
|
|
|
|
S3_SECRET: ${{ secrets.S3_SECRET }}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
api:
|
|
|
|
runs-on: ubuntu-latest
|
2022-11-05 06:04:13 +03:00
|
|
|
|
2021-10-07 07:03:48 +03:00
|
|
|
steps:
|
2022-11-24 02:04:20 +03:00
|
|
|
- id: skip_check
|
|
|
|
uses: fkirc/skip-duplicate-actions@v5
|
|
|
|
with:
|
|
|
|
concurrent_skipping: 'same_content_newer'
|
2022-04-10 14:54:39 +03:00
|
|
|
- uses: actions/checkout@v3
|
2022-04-04 23:52:54 +03:00
|
|
|
- uses: actions/setup-go@v3
|
2021-10-12 00:56:00 +03:00
|
|
|
with:
|
2022-12-07 01:31:08 +03:00
|
|
|
go-version: '1.18.8'
|
2023-01-23 08:07:49 +03:00
|
|
|
|
2021-10-07 07:03:48 +03:00
|
|
|
- name: Run HLS tests
|
2023-01-23 08:07:49 +03:00
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
with:
|
|
|
|
timeout_minutes: 10
|
|
|
|
max_attempts: 3
|
|
|
|
command: cd test/automated/hls && ./run.sh
|