adding gitea actions
All checks were successful
Tests / build (ubuntu-latest, 1.3.1, 3.10) (push) Successful in 41s
All checks were successful
Tests / build (ubuntu-latest, 1.3.1, 3.10) (push) Successful in 41s
This commit is contained in:
parent
bc45c89349
commit
801bbd5e2a
32
.gitea/workflows/ci.yml
Normal file
32
.gitea/workflows/ci.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Tests
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
python-version: ['3.10']
|
||||||
|
poetry-version: [1.3.1]
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4 # get source
|
||||||
|
with:
|
||||||
|
github-server-url: https://gitea.sheep-ghoul.ts.net
|
||||||
|
|
||||||
|
- name: Install Python 3
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
- name: Install Poetry # dependency management
|
||||||
|
uses: abatilo/actions-poetry@v2.1.6
|
||||||
|
with:
|
||||||
|
poetry-version: ${{ matrix.poetry-version }}
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: poetry install
|
||||||
|
|
||||||
|
- name: Run Tests # test script
|
||||||
|
run: poetry run python -m unittest discover -s tests
|
Loading…
Reference in New Issue
Block a user