-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (47 loc) · 1.43 KB
/
ucvm_plotting-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: ucvm_plotting-ci
on: [push]
jobs:
ucvm_plotting-build:
runs-on: ubuntu-latest
name: A job to build ucvm_plotting
steps:
- uses: actions/checkout@v2
- run: ( echo "UCVM_PLOTTING_PATH=$RUNNER_WORKSPACE/ucvm_plotting" >> $GITHUB_ENV )
shell: bash
# - id: build-ucvm
# uses: SCECcode/UCVM/.github/actions@action
# with:
# target-models: 'cvmh'
- run: echo build-log ${{ steps.build-ucvm.outputs.build-log }}
shell: bash
- run: which python
- run: which conda
- run: python -V
# - name: Set up Python 2.7.17
# uses: actions/setup-python@v2
# with:
# python-version: '2.7.17'
- name: Set up Conda
uses: s-weigand/setup-conda@v1
with:
update-conda: false
activate-conda: true
# python-version: '2.7.17'
conda-channels: conda-forge
- run: conda --version
- run: which python
- run: which conda
- run: python -V
- run: which python2
- run: python2 -V
- run: pip -V
# - name: bring in basemap
# run: conda install matplotlib basemap basemap-data-hires
# - name: test basemap
# run: (cd $UCVM_PLOTTING_PATH; ./.github/scripts/test_basemap.py)
# - name: build-self
# run: (cd $UCVM_PLOTTING_PATH; ./.github/scripts/ucvm_plotting-build.sh)
# shell: bash
# - name: test plotting
# run: (cd $UCVM_PLOTTING_PATH; ./.github/scripts/ucvm_plotting-test.sh)
# shell: bash