1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 06:08:27 +01:00

[core] Adapt pr tester

This commit is contained in:
Bocki 2022-03-25 19:38:26 +01:00 committed by GitHub
parent 608723f95c
commit c46ff51c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ jobs:
- name: Check out rss-bridge
run: |
PR=${{github.event.number}};
wget https://raw.githubusercontent.com/RSS-Bridge/rss-bridge/master/.github/prtester-requirements.txt;
wget -O requirements.txt https://raw.githubusercontent.com/RSS-Bridge/rss-bridge/master/.github/prtester-requirements.txt;
wget https://raw.githubusercontent.com/RSS-Bridge/rss-bridge/master/.github/prtester.py;
wget https://patch-diff.githubusercontent.com/raw/$GITHUB_REPOSITORY/pull/$PR.patch;
cat $PR.patch | grep " bridges/.*\.php" | sed "s= bridges/\(.*\)Bridge.php.*=\1=g" | sort | uniq > whitelist.txt
@ -56,4 +56,4 @@ jobs:
artifacts-branch: artifacts
artifacts-prefix-url: "https://htmlpreview.github.io/?"
artifacts: |
${{ steps.artifacts.outputs.paths }}
${{ steps.artifacts.outputs.paths }}