Update .gitea/workflows/test.yml
Run Pytest and Serve Report via LocalTunnel / tests (push) Failing after 46s

This commit is contained in:
2025-07-07 19:16:01 +02:00
parent 7cff9d1787
commit 0efcd2c7d2
-14
View File
@@ -13,12 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js (for localtunnel)
run: |
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g localtunnel serve
- name: Install Pixi and dependencies
run: |
curl -fsSL https://pixi.sh/install.sh | bash
@@ -48,11 +42,3 @@ jobs:
--html=ci-reports/html/index.html --self-contained-html
allure generate allure-results -o ci-reports/allure
- name: Serve report via localtunnel (choose one!)
run: |
echo "Serving pytest-html report..."
npx serve ci-reports/html --port 8080 & # 🔁 Pour pytest-html
# echo "Serving Allure report..."
# npx serve ci-reports/allure --port 8080 & # 🔁 Décommente pour Allure
sleep 5
npx localtunnel --port 8080