1
0
Fork 0
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:
dbarzin 2023-02-13 17:19:29 +01:00
parent 690e27736b
commit b5495fb1cb

44
.github/workflows/ci.yml vendored Normal file
View 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