Skip to content

Commit 358e87e

Browse files
authored
Merge pull request #1 from piwheels/actions
Add github actions for test build
2 parents d2335d1 + 53efcca commit 358e87e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test build
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
python-version: ["3.10"]
12+
13+
steps:
14+
- name: Check out code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install beemo
26+
27+
- name: Build the site
28+
env:
29+
BEEMO_CONFIG: config.yml
30+
run: |
31+
mkdir www
32+
beemo

0 commit comments

Comments
 (0)