prova push report sul sito
This commit is contained in:
35
.github/workflows/tests.yml
vendored
35
.github/workflows/tests.yml
vendored
@@ -8,21 +8,26 @@ jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
export PYTHONPATH=$GITHUB_WORKSPACE
|
||||
export KODI_INTERACTIVE=0
|
||||
./tests/run.sh
|
||||
- name: Run tests
|
||||
run: |
|
||||
export KODI_INTERACTIVE=0
|
||||
./tests/run.sh
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: report
|
||||
path: reports/report.html
|
||||
- name: Commit & Push changes
|
||||
uses: cpina/github-action-push-to-another-repository@cp_instead_of_deleting
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
||||
with:
|
||||
source-directory: "reports"
|
||||
destination-github-username: "kodiondemand"
|
||||
destination-repository-name: "kodiondemand.github.io"
|
||||
user-email: "tests@kod.bot"
|
||||
commit-message: "Test suite"
|
||||
Reference in New Issue
Block a user