-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (35 loc) · 961 Bytes
/
test-all.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
name: test-builds
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
test-builds:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: windows-latest
command: chcp 65001 & C:\Miniconda\condabin\conda env create -f environment-all.yml
- os: ubuntu-latest
command: conda env create -f environment-all.yml
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo content
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install kosu
run: |
python -m pip install --upgrade pip
pip install kosu
- name: Test all courses build
run: |
kosu test --environment --all
- name: Test conda environment
run: |
${{ matrix.command }}