-
Notifications
You must be signed in to change notification settings - Fork 38
34 lines (27 loc) · 829 Bytes
/
Copy pathmain.yml
File metadata and controls
34 lines (27 loc) · 829 Bytes
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
name: CI
on: [push, pull_request]
jobs:
run:
name: "Test"
strategy:
matrix:
python_version: ["3.7", "3.14"]
runs-on: ubuntu-22.04
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
steps:
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python_version }}
- name: Initialize pip environment
run: python -m pip install pipenv
- name: Checkout repo
uses: actions/checkout@v5
with:
submodules : true
- name: Install python environment
run: |
pipenv install --dev --skip-lock --python ${{ matrix.python_version }}
- name: Run CI
env:
PYTHONPATH: src/main/python
run: /bin/sh scripts/ci.sh