Skip to content

Commit

Permalink
comment out unneeded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Dec 21, 2022
1 parent a406862 commit 72f817b
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 155 deletions.
83 changes: 0 additions & 83 deletions .github/workflows/check.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
pull_request:
# pull_request:
schedule:
- cron: "7 7 * * *"

Expand Down
142 changes: 71 additions & 71 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,87 +7,87 @@ on:
pull_request:

jobs:
ci-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- rust: stable
- rust: beta
steps:
- name: Checkout sources
uses: actions/checkout@v1
# ci-test:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# include:
# - rust: stable
# - rust: beta
# steps:
# - name: Checkout sources
# uses: actions/checkout@v1

- name: Install ubuntu dependencies
run: |
sudo apt-get update && sudo apt-get install --no-install-recommends -y \
llvm-dev \
libcfitsio-dev \
pkg-config \
libssl-dev \
python3
# - name: Install ubuntu dependencies
# run: |
# sudo apt-get update && sudo apt-get install --no-install-recommends -y \
# llvm-dev \
# libcfitsio-dev \
# pkg-config \
# libssl-dev \
# python3

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{matrix.rust}}
override: true
components: rustfmt, clippy
# - name: Install toolchain
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: ${{matrix.rust}}
# override: true
# components: rustfmt, clippy

- name: Test the code
run: python3 ./bin/test --rust-version ${{matrix.rust}} --test all
# - name: Test the code
# run: python3 ./bin/test --rust-version ${{matrix.rust}} --test all

macos-test:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
include:
- rust: stable
- rust: beta
steps:
- name: Checkout sources
uses: actions/checkout@v1
# macos-test:
# runs-on: macos-latest
# strategy:
# fail-fast: false
# matrix:
# include:
# - rust: stable
# - rust: beta
# steps:
# - name: Checkout sources
# uses: actions/checkout@v1

- name: Install dependencies
run: |
brew install cfitsio python3
# - name: Install dependencies
# run: |
# brew install cfitsio python3

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{matrix.rust}}
override: true
components: rustfmt, clippy
# - name: Install toolchain
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: ${{matrix.rust}}
# override: true
# components: rustfmt, clippy

- name: Test the code
run: python3 ./bin/test --rust-version ${{matrix.rust}} --test all
# - name: Test the code
# run: python3 ./bin/test --rust-version ${{matrix.rust}} --test all

linux-armv7:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Checkout sources
uses: actions/checkout@v1
# linux-armv7:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: true
# steps:
# - name: Checkout sources
# uses: actions/checkout@v1

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
target: armv7-unknown-linux-gnueabihf
# - name: Install toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# profile: minimal
# override: true
# target: armv7-unknown-linux-gnueabihf

- name: Test the code
uses: actions-rs/cargo@v1
with:
use-cross: true
command: test
args: --target armv7-unknown-linux-gnueabihf --manifest-path fitsio/Cargo.toml
# - name: Test the code
# uses: actions-rs/cargo@v1
# with:
# use-cross: true
# command: test
# args: --target armv7-unknown-linux-gnueabihf --manifest-path fitsio/Cargo.toml

windows-test:
runs-on: windows-latest
Expand Down

0 comments on commit 72f817b

Please sign in to comment.