Update .gitea/workflows/publish-pytest-result.yml
This commit is contained in:
@@ -1,14 +1,27 @@
|
|||||||
name: Pytest artifact publish
|
name: Pytest artifact publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch: # Allows manual triggering
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
print-python-version:
|
print-python-version:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: python:3.11-slim
|
image: python:3.11
|
||||||
|
|
||||||
steps:
|
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
|
- name: Print Python Version
|
||||||
run: python --version
|
run: python --version
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user