Skip to content

Commit

Permalink
Fix testing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed May 6, 2020
1 parent 8c1c149 commit 7f12797
Show file tree
Hide file tree
Showing 6 changed files with 29,067 additions and 29,087 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/example-1.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Example 1: Basic usage"

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
Expand All @@ -18,7 +15,7 @@ jobs:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.7', '2.7']
steps:
- uses: goanpeca/setup-miniconda@v1
- uses: goanpeca/setup-miniconda@1.x
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/example-2.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Example 2: Other shells"

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
Expand All @@ -13,15 +10,10 @@ jobs:
name: Ex2 Linux
runs-on: 'ubuntu-latest'
steps:
- uses: goanpeca/setup-miniconda@v1
- uses: goanpeca/setup-miniconda@1.x
with:
miniconda-version: 'latest'
activate-environment: foo
- name: Sh
shell: sh -l {0}
run: |
conda info
conda list
- name: Bash
shell: bash -l {0}
run: |
Expand All @@ -37,7 +29,7 @@ jobs:
name: Ex2 Mac
runs-on: 'macos-latest'
steps:
- uses: goanpeca/setup-miniconda@v1
- uses: goanpeca/setup-miniconda@1.x
with:
miniconda-version: 'latest'
activate-environment: foo
Expand All @@ -61,7 +53,7 @@ jobs:
name: Ex2 Windows
runs-on: 'windows-latest'
steps:
- uses: goanpeca/setup-miniconda@v1
- uses: goanpeca/setup-miniconda@1.x
with:
miniconda-version: 'latest'
activate-environment: foo
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/example-3.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Example 3: Other options"

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
Expand All @@ -14,7 +11,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1
- uses: goanpeca/setup-miniconda@1.x
with:
activate-environment: anaconda-client-env
environment-file: etc/example-environment.yml
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/example-4.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Example 4: Channels"

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
Expand All @@ -14,7 +11,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@enh/channels
- uses: goanpeca/setup-miniconda@1.x
with:
activate-environment: foo
python-version: 3.6
Expand Down
Loading

0 comments on commit 7f12797

Please sign in to comment.