-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-develop.yml
More file actions
38 lines (32 loc) · 980 Bytes
/
github-develop.yml
File metadata and controls
38 lines (32 loc) · 980 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
35
36
37
38
# This is a template configuration file for GitHub Actions, for testing
# your tutorial regularly. Copy it to .github/workflows/build.yml in the
# top level directory of your tutorial, in the develop branch.
name: build
permissions: read-all
on:
push:
pull_request:
schedule:
- cron: XXXX # Replace with the output of running tutorial_tools/make-cron.py
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.13"]
imp-branch: [main, develop]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup conda
run: |
support/tutorial_tools/setup_ci.sh ${{ matrix.imp-branch }} ${{ matrix.python-version }}
- name: Test
run: |
eval "$(conda shell.bash hook)"
conda activate python${{ matrix.python-version }}
conda install --yes -q scikit-learn
pytest support/test/*.py