Skip to content

Commit

Permalink
Create CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry57 authored Oct 26, 2024
1 parent 49221b2 commit 9db4769
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
paths:
- "GENetLib/*.py"
- "pytest/*.py"
- ".github/workflows/CI.yml"
pull_request:
paths:
- "GENetLib/*.py"
- "pytest/*.py"
- ".github/workflows/CI.yml"
workflow_dispatch:

jobs:

build:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install GENetLib & dependencies
run: |
python -m pip install --upgrade pip
pip install .

0 comments on commit 9db4769

Please sign in to comment.