Skip to content

Commit 60761df

Browse files
committed
add .github/workflows/test-dev.yml for python 3.14
1 parent e52b553 commit 60761df

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/test-dev.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "Test-dev"
2+
3+
on:
4+
push:
5+
branches: ["master", "dev", "dev2", "github-action"]
6+
pull_request:
7+
schedule:
8+
- cron: "33 1 * * 3"
9+
workflow_dispatch:
10+
11+
jobs:
12+
ubuntu:
13+
name: Test on Ubuntu
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
python-version:
19+
- 3.14
20+
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
- name: List files
30+
run: ls -l
31+
- name: Install build/devel dependencies
32+
run: |
33+
sudo apt-get update
34+
sudo apt-get install libxml2-dev libxslt1-dev
35+
- name: Install dependencies
36+
run: sh ./scripts/test-deps.sh
37+
- name: Run tests
38+
run: bash scripts/ci/test.sh
39+
- name: Upload test artifacts
40+
if: always()
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: pyglossary-test-ubuntu-py${{ matrix.python-version }}
44+
path: artifacts

0 commit comments

Comments
 (0)