23 lines
630 B
YAML
Raw Normal View History

2024-03-14 10:20:30 +01:00
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