-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.06 KB
/
Copy pathci.yml
File metadata and controls
39 lines (35 loc) · 1.06 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
name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.12"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: |
skills/math-glossary/requirements.txt
skills/math-glossary/requirements-ai.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install \
-r skills/math-glossary/requirements.txt \
-r skills/math-glossary/requirements-ai.txt
- name: Test repository shape
run: python -m unittest discover -s tests -v
- name: Test math-glossary
run: python -m unittest discover -s skills/math-glossary/tests -v
- name: Test matlab-runner adapter
run: python -m unittest discover -s skills/matlab-runner/tests -v