Add .gitea/workflows/*.yaml
This commit is contained in:
@@ -8,8 +8,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-20.04, ubuntu-22.04]
|
os: [ubuntu-22.04, ubuntu-24.04]
|
||||||
python-version: ['3.8', '3.10']
|
python-version: ['3.10', '3.12']
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
@@ -22,3 +22,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Install requests
|
- name: Install requests
|
||||||
run: pip install requests
|
run: pip install requests
|
||||||
|
|
||||||
|
- name: Install tox
|
||||||
|
run: pip install tox
|
||||||
|
|
||||||
|
- name: Run unit tests
|
||||||
|
run: |
|
||||||
|
cd backend
|
||||||
|
tox -e unit
|
||||||
Reference in New Issue
Block a user