test action
test python / Python ${{ matrix.python-version }} sample (pypy3) (push) Failing after 30s Details
test python / Python ${{ matrix.python-version }} sample (3.12') (push) Failing after 31s Details

This commit is contained in:
sergey 2024-09-24 23:41:15 +03:00
parent ac11217ccf
commit 9b898a44ca
1 changed files with 16 additions and 15 deletions

View File

@ -1,18 +1,19 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
name: test python
run-name: ${{ gitea.actor }}
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: python
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.12', 'pypy3' ]
name: Python ${{ matrix.python-version }} sample
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ gitea.status }}."
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: python my_script.py