parent
643ea7569d
commit
255d8aa81d
@ -1,12 +0,0 @@
|
||||
# name: Gitea Actions Demo
|
||||
# run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
||||
# on: [push]
|
||||
# jobs:
|
||||
# Explore-Gitea-Actions:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Check out repository code
|
||||
# uses: actions/checkout@v3
|
||||
# - name: List files in the repository
|
||||
# run: |
|
||||
# ls ${{ github.workspace }}
|
||||
19
.gitea/workflows/test.yaml
Normal file
19
.gitea/workflows/test.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Test
|
||||
run-name: ${{ github.actor }} running tests
|
||||
on: [push]
|
||||
jobs:
|
||||
Test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Python 3
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.10
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install .
|
||||
- name: Run tests
|
||||
run: python -m unittest
|
||||
Loading…
Reference in New Issue
Block a user