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

41 lines
779 B
YAML
Raw Normal View History

name: Automated API tests
on:
push:
paths-ignore:
- 'webroot/**'
2022-09-05 01:41:02 +02:00
- 'web/**'
2022-10-13 00:34:35 +02:00
pull_request:
paths-ignore:
- 'webroot/**'
- 'web/**'
2022-10-13 00:34:35 +02:00
jobs:
2022-09-05 01:41:02 +02:00
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
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@v2
with:
image: tonistiigi/binfmt:latest
platforms: all
- uses: actions/checkout@v3
- name: Run API tests
run: earthly +api-tests