-
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (35 loc) · 1.03 KB
/
testUpdateFeed.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 🕵🏽♀️ RunParsersTest
on:
workflow_dispatch:
inputs:
cmdParams:
description: 'cmd parameters'
required: true
default: '-parser markas'
type: string
jobs:
testGenerateXMLFeeds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install requirements.txt
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run parsers & update xml feeds
run: |
echo python updateFeeds.py ${{ github.event.inputs.cmdParams }} -meta -feed -json -index
python updateFeeds.py ${{ github.event.inputs.cmdParams }} -meta -feed -json -index
- name: Test files in github pages
run: |
python tests/test_ghpages.py
- name: Upload github pages /docs/ artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: github-pages-docs
path: docs/