-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (33 loc) · 1016 Bytes
/
test.yml
File metadata and controls
33 lines (33 loc) · 1016 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
name: Test PythonWorkshop Notebooks
on: [push, pull_request]
jobs:
test:
name: Miniconda ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Environment
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest" # Added to install Miniconda if missing
activate-environment: pythonworkshop_dev
environment-file: resources/dev/environment.yml
python-version: 3.8
auto-update-conda: true
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list
- name: Install Kernel
shell: bash -l {0}
run: |
python -m ipykernel install --user --name pythonworkshop_dev
- name: Run Tests
shell: bash -l {0}
run: |
python resources/dev/test.py