23 lines
630 B
YAML
23 lines
630 B
YAML
name: Gitea Actions for feature
|
|
run-name: ${{ gitea.actor }} testing jobs
|
|
on:
|
|
push:
|
|
branches:
|
|
- features/*
|
|
|
|
jobs:
|
|
Tests-Actions:
|
|
runs-on: ubuntu-latest
|
|
container: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
github-server-url: 'http://localhost:3000'
|
|
- uses: actions/setup-python@v5
|
|
- name: Install dependencies
|
|
run: |
|
|
cd app
|
|
pip3 install -r requirements.test.txt
|
|
- name: "Testing..."
|
|
run: cd app && python3 -m unittest discover -s tests |