Update .gitea/workflows/publish-pytest-result.yml
This commit is contained in:
@@ -1,14 +1,27 @@
|
||||
name: Pytest artifact publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
pull_request:
|
||||
workflow_dispatch: # Allows manual triggering
|
||||
|
||||
jobs:
|
||||
print-python-version:
|
||||
runs-on: docker
|
||||
|
||||
container:
|
||||
image: python:3.11-slim
|
||||
image: python:3.11
|
||||
|
||||
steps:
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y curl
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt-get install -y nodejs
|
||||
|
||||
- name: Print Python Version
|
||||
run: python --version
|
||||
|
||||
@@ -36,4 +49,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pytest-html-report
|
||||
path: test-report.html
|
||||
path: test-report.html
|
||||
Reference in New Issue
Block a user