mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-08-04 21:35:24 +02:00
work on CI
This commit is contained in:
parent
239d1e2199
commit
fba331bbf8
1 changed files with 12 additions and 23 deletions
35
.github/workflows/ci.yml
vendored
35
.github/workflows/ci.yml
vendored
|
@ -9,32 +9,21 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
deploy:
|
qa:
|
||||||
|
name: Quality check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v1
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install Pandora-box
|
- name: Set up Python
|
||||||
run: |
|
uses: actions/setup-python@master
|
||||||
sudo ./install.sh
|
|
||||||
|
|
||||||
- name: Start Pandora-box
|
|
||||||
run: |
|
|
||||||
cd pandora-box && ./pandora-box.py
|
|
||||||
|
|
||||||
- name: Upload Screenshots
|
|
||||||
if: failure()
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
with:
|
||||||
name: screenshots
|
python-version: 3.8
|
||||||
path: tests/Browser/screenshots
|
|
||||||
|
|
||||||
- name: Upload Console Logs
|
- name: Wemake Python Stylguide
|
||||||
if: failure()
|
uses: wemake-services/wemake-python-styleguide@0.13.4
|
||||||
uses: actions/upload-artifact@v2
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: console
|
reporter: 'github-pr-review'
|
||||||
path: tests/Browser/console
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue