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