Skip to content

Commit b220fff

Browse files
Remove .travis, add workflow
1 parent 393798d commit b220fff

File tree

5 files changed

+71
-9
lines changed

5 files changed

+71
-9
lines changed

.github/workflows/run_tests.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Run benchmark tests
2+
on:
3+
pull_request:
4+
push:
5+
branches: [master]
6+
7+
jobs:
8+
run_test:
9+
name: Run optimization bench on intel_dev
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
python: ['3.9', '3.10', '3.11']
15+
16+
steps:
17+
- name: Cancel Previous Runs
18+
uses: styfle/[email protected]
19+
with:
20+
access_token: ${{ github.token }}
21+
22+
- uses: actions/checkout@v3
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Set pkgs_dirs
27+
run: |
28+
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
29+
30+
- name: Add conda to system path
31+
run: echo $CONDA/bin >> $GITHUB_PATH
32+
33+
- name: Create test environment
34+
run: conda env create -f environments/intel.yaml
35+
36+
- name: Run scripts
37+
run: |
38+
conda activate intel_dev
39+
python run_tests.py

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[![Build Status](https://travis-ci.org/IntelPython/optimizations_bench.svg?branch=master)](https://travis-ci.org/IntelPython/optimizations_bench)
2-
31
# Optimization Benchmarks
42
Collection of performance benchmarks used to present optimizations implemented for Intel(R) Distribution for Python*
53

environments/intel.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: intel_env
2+
channels:
3+
- intel
4+
- conda-forge
5+
- nodefaults
6+
dependencies:
7+
- numpy
8+
- numexpr
9+
- numba
10+
- scikit-learn
11+
- cython
12+
- pip
13+
- pip:
14+
- dask
15+
# - rdtsc

environments/stock.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: stock_env
2+
channels:
3+
- intel
4+
- conda-forge
5+
- nodefaults
6+
dependencies:
7+
- llvmlite
8+
- cython
9+
- pip
10+
- pip:
11+
- numpy
12+
- scikit-learn
13+
- toolz
14+
- numexpr
15+
# - rdtsc
16+
- numba
17+
- dask

0 commit comments

Comments
 (0)