Skip to content

Commit

Permalink
Merge pull request #46 from Train-lab-intern/SiarheiZhachek-patch-18
Browse files Browse the repository at this point in the history
Update run_tests.yml
  • Loading branch information
SiarheiZhachek authored Oct 12, 2024
2 parents 2cd20a9 + ead52de commit eeeaae7
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ permissions:
jobs:

download-history:
if: false
runs-on: ubuntu-latest
name: Download history
steps:
- run: >
- name: setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: >
ARTIFACT_ID=$(curl -L
-H "Accept: application/vnd.github+json"
-H "X-GitHub-Api-Version: 2022-11-28"
Expand All @@ -43,11 +46,11 @@ jobs:
https://api.github.com/repos/Train-lab-intern/aqa_python/actions/artifacts/$REPORT_ID/zip
-o pages.zip
- run: mkdir reports && unzip artifacts.zip -d reports
- run: mkdir old_pages pages_history && unzip pages.zip -d old_pages && tar -xvf old_pages/artifact.tar -C pages_history
- run: cp pages_history/history/* reports && cp -r pages_history/history reports
- name: Store allure history
uses: actions/upload-artifact@v4
with:
- run: mkdir old_pages pages_history && unzip pages.zip -d old_pages && tar -xvf old_pages/artifact.tar -C pages_history
- run: cp pages_history/history/* reports && cp -r pages_history/history reports
- name: Store allure history
uses: actions/upload-artifact@v4
with:
name: reports
path:
reports
Expand Down

0 comments on commit eeeaae7

Please sign in to comment.