owncast/.github/workflows/automated-end-to-end-api.yaml

43 lines
880 B
YAML
Raw Normal View History

name: Automated API tests
on:
push:
paths-ignore:
2022-09-05 01:41:02 +02:00
- 'web/**'
2022-10-13 00:34:35 +02:00
pull_request:
paths-ignore:
- 'web/**'
2022-10-13 00:34:35 +02:00
jobs:
2022-09-05 01:41:02 +02:00
test:
runs-on: ubuntu-latest
steps:
2022-11-24 00:06:51 +01:00
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content_newer'
2022-09-05 01:41:02 +02:00
- uses: earthly/actions-setup@v1
with:
2022-09-05 01:41:02 +02:00
version: 'latest' # or pin to an specific version, e.g. "v0.6.10"
- name: Earthly version
run: earthly --version
2022-09-05 01:41:02 +02:00
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v3
2022-09-05 01:41:02 +02:00
with:
image: tonistiigi/binfmt:latest
platforms: all
- uses: actions/checkout@v4
2022-09-05 01:41:02 +02:00
- name: Run API tests
2022-11-22 21:56:03 +01:00
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: earthly +api-tests