-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 886 Bytes
/
test.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
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 360
steps:
- name: Install zsh
run: sudo apt-get update; sudo apt-get install zsh
if: ${{ matrix.os == 'ubuntu-latest'}}
- uses: actions/checkout@v3
- name: Set up Python 3
uses: actions/setup-python@v3
- name: Cache Anaconda
id: cache-py
uses: actions/cache@v3
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ./env
key: nokey
- name: check home disk space
run: |
du -sh ~
- name: Test
run: |
/bin/zsh ./install.sh
- name: check home disk space
run: |
du -sh ~