Skip to content

Commit 3c1faa8

Browse files
committed
Added GitHub Workflow file compile.yml
1 parent 1d0a6ac commit 3c1faa8

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/compile.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
permissions:
6+
contents: read
7+
8+
# Controls when the action will run. Triggers the workflow on push or pull request
9+
# events but only for the master branch
10+
on:
11+
push:
12+
branches: [ 2.1 ]
13+
pull_request:
14+
branches: [ 2.1 ]
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build:
20+
# The type of runner that the job will run on
21+
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
python-version: [3.9, 3.11]
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: Set up Python ${{ matrix.python-version }}
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
33+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
34+
- uses: actions/checkout@v2
35+
- name: Install dependencies
36+
run: |
37+
python -m pip install --upgrade pip
38+
pip install -r requirements.txt
39+
40+
# Runs a set of commands using the runners shell
41+
- name: Run a multi-line script
42+
run: |
43+
make html

0 commit comments

Comments
 (0)