Add Gitea Actions workflow (from GitHub)
Some checks failed
Build / build (3.10) (push) Failing after 1m12s
Build / build (3.12) (push) Failing after 42s
Build / build (3.7) (push) Failing after 7s
Build / build (3.8) (push) Failing after 38s
Build / build (3.9) (push) Failing after 44s
Build / build (3.11) (push) Failing after 3m19s
Some checks failed
Build / build (3.10) (push) Failing after 1m12s
Build / build (3.12) (push) Failing after 42s
Build / build (3.7) (push) Failing after 7s
Build / build (3.8) (push) Failing after 38s
Build / build (3.9) (push) Failing after 44s
Build / build (3.11) (push) Failing after 3m19s
This commit is contained in:
28
.gitea/workflows/ci.yml
Normal file
28
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
concurrency:
|
||||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
|
||||
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: https://github.com/actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip tox
|
||||
- name: Build and test
|
||||
run: |
|
||||
tox
|
||||
Reference in New Issue
Block a user