Add .gitea/workflows/*.yaml
This commit is contained in:
@@ -8,8 +8,8 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: [ubuntu-20.04, ubuntu-22.04]
|
||||
python-version: ['3.8', '3.10']
|
||||
os: [ubuntu-22.04, ubuntu-24.04]
|
||||
python-version: ['3.10', '3.12']
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
@@ -21,4 +21,12 @@ jobs:
|
||||
python-version: "${{ matrix.python-version }}"
|
||||
|
||||
- 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