Skip to content

Commit e48a82d

Browse files
committed
Merge branch 'main' into brent-IMPORT
2 parents 89fdd7b + 18fb95a commit e48a82d

4 files changed

Lines changed: 611 additions & 480 deletions

File tree

.github/workflows/tests.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
name: tests
22

33
on:
4-
push:
5-
branches: [main]
6-
pull_request:
4+
push:
5+
branches: [main]
6+
pull_request:
77

88
concurrency:
9-
group: tests-${{ github.workflow }}-${{ github.ref }}
10-
cancel-in-progress: true
9+
group: tests-${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
1111

1212
jobs:
13-
pre-commit:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-python@v5
18-
with:
19-
python-version: '3.10'
20-
- uses: pre-commit/action@v3.0.1
21-
22-
build:
23-
runs-on: ubuntu-latest
24-
steps:
25-
- name: Check out the repository
26-
uses: actions/checkout@v4
27-
with:
28-
fetch-depth: 2
29-
30-
- name: Install uv
31-
uses: astral-sh/setup-uv@v4
32-
33-
- name: Set up Python
34-
run: uv python install
35-
36-
- name: Install dependencies
37-
run: uv sync --all-extras --dev
38-
39-
- name: Install Quarto
40-
uses: quarto-dev/quarto-actions/setup@v2
41-
with:
42-
version: "1.5.57"
43-
44-
- name: set timezone
45-
run: |
46-
TZ="Europe/London" &&
47-
sudo ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
48-
49-
- name: install linux deps
50-
run: |
51-
sudo apt-get -y install openssl graphviz nano texlive graphviz-dev unzip build-essential
52-
53-
- name: build the book
54-
run: |
55-
uv run quarto render --execute
56-
57-
- name: success
58-
run: |
59-
echo "Success in building book without errors!"
13+
pre-commit:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.10"
20+
- uses: pre-commit/action@v3.0.1
21+
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Check out the repository
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 2
29+
30+
- name: Install uv
31+
uses: astral-sh/setup-uv@v4
32+
33+
- name: Set up Python
34+
run: uv python install
35+
36+
- name: Install dependencies
37+
run: uv sync --all-extras --dev
38+
39+
- name: Install Quarto
40+
uses: quarto-dev/quarto-actions/setup@v2
41+
with:
42+
version: "1.5.57"
43+
44+
- name: set timezone
45+
run: |
46+
TZ="Europe/London" &&
47+
sudo ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
48+
49+
- name: install linux deps
50+
run: |
51+
sudo apt-get -y install openssl graphviz nano texlive graphviz-dev unzip build-essential
52+
53+
- name: build the book
54+
run: |
55+
uv run quarto render --execute
56+
57+
- name: success
58+
run: |
59+
echo "Success in building book without errors!"

0 commit comments

Comments
 (0)