mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-08-04 21:35:24 +02:00
continuous integration
This commit is contained in:
parent
690e27736b
commit
b5495fb1cb
1 changed files with 44 additions and 0 deletions
44
.github/workflows/ci.yml
vendored
Normal file
44
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
name: Continuous Integration
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Pandora
|
||||||
|
run: |
|
||||||
|
./install.sh
|
||||||
|
|
||||||
|
- name: Copy ini file
|
||||||
|
run: |
|
||||||
|
cp pandora-box.ini.curses pandora-dox.ini
|
||||||
|
|
||||||
|
- name: Start pandora-box
|
||||||
|
run: |
|
||||||
|
./pandora-box.py
|
||||||
|
|
||||||
|
- name: Upload Screenshots
|
||||||
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: screenshots
|
||||||
|
path: tests/Browser/screenshots
|
||||||
|
|
||||||
|
- name: Upload Console Logs
|
||||||
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: console
|
||||||
|
path: tests/Browser/console
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue