mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Add script and CI to automatically test backend changes. (#127)
This commit is contained in:
parent
08cead806d
commit
f3ffe6f1e4
3 changed files with 101 additions and 0 deletions
21
.github/workflows/docker-build-test.yml
vendored
Normal file
21
.github/workflows/docker-build-test.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Docker-Compose Build and Test
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build-hotspot-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Build Locally
|
||||
run: docker build . -t 1337kavin/piped:latest
|
||||
- name: Start Docker-Compose services
|
||||
run: docker-compose up -d && sleep 5
|
||||
- name: Run tests
|
||||
run: ./api-test.sh
|
Loading…
Add table
Add a link
Reference in a new issue