-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (42 loc) · 1.13 KB
/
ci.yml
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
40
41
42
43
44
45
46
47
48
49
name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
channels: conda-forge
activate-environment: pyemittance-dev
environment-file: environment-dev.yml
# - name: flake8
# shell: bash -l {0}
# run: |
# flake8 .
- name: Install PyEmittance
shell: bash -l {0}
run: |
pip install --no-dependencies .
- name: Run Tests
shell: bash -l {0}
run: |
bash run_tests.bash
- name: Execute notebooks
shell: bash -l {0}
run: |
bash scripts/execute_notebooks.bash
# - name: Run E2E Tests
# uses: BerniWittmann/background-server-action@latest
# with:
# command: pytest tests
# start: python tests/start_server.py