Skip to content

Commit

Permalink
Try switching ci tests to GA
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Jan 29, 2021
1 parent fa49031 commit 4d54517
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,29 +73,9 @@ jobs:
args: --all-features --examples --all --benches
if: matrix.rust == 'nightly'

test:
name: Check Tests (Simple)
runs-on: [self-hosted, snarkos-ci1]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Rust (nightly)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2020-07-13
override: true

- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --all --lib

# test-ga:
# test:
# name: Check Tests (Simple)
# runs-on: ubuntu-latest
# runs-on: [self-hosted, snarkos-ci1]
# steps:
# - name: Checkout
# uses: actions/checkout@v2
Expand All @@ -104,23 +84,43 @@ jobs:
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: nightly
# toolchain: nightly-2020-07-13
# override: true
#
# - uses: actions/cache@v2
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#
# - name: Test
# uses: actions-rs/cargo@v1
# with:
# command: test
# args: --all --lib

test:
name: Check Tests (Simple)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Rust (nightly)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --all

test-wasm:
name: Check Tests (Wasm)
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4d54517

Please sign in to comment.