-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.04 KB
/
python-linux.yml
File metadata and controls
42 lines (39 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Python on Linux
on:
pull_request:
push:
branches: [main]
schedule:
- cron: '35 8 * * 1'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
sudo apt-get install -y --no-install-recommends \
build-essential \
libffi-dev \
pipx
- name: Install project tp pipx
run: pipx install .
- name: Run time-tools
run: ts_to_iso_utc --help
#- name: Install sphinx to build docs
# run: pip install sphinx mock
#- name: Build html
# run: |
# cd docs/source && \
# sphinx-build -W -b html . ../_build/html
#- name: Build latex
# run: |
# cd docs/source && \
# sphinx-build -W -b latex . ../_build/html