Compare commits
11 Commits
643ea7569d
...
8b3af691f1
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b3af691f1 | |||
| 5d4dbfbe45 | |||
| a3f5c8758e | |||
| 75e0d15ac0 | |||
| e103763428 | |||
| e536918c62 | |||
| 98fc39a5cd | |||
| faaedb10ce | |||
| 30d0a06137 | |||
| b3ff7a7920 | |||
| 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 }}
|
|
||||||
20
.gitea/workflows/test.yaml
Normal file
20
.gitea/workflows/test.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Test
|
||||||
|
run-name: ${{ github.actor }} running tests
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
Test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install Python and pip
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
apt install -y python3-pip
|
||||||
|
whereis python3
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
/usr/bin/python3 -m pip install --upgrade pip
|
||||||
|
/usr/bin/python3 -m pip install .
|
||||||
|
- name: Run tests
|
||||||
|
run: /usr/bin/python3 -m unittest
|
||||||
Loading…
Reference in New Issue
Block a user