Skip to content

Commit

Permalink
Merge pull request #7 from ehuss/fix-fossil-ci
Browse files Browse the repository at this point in the history
Disable fossil CI and tests.
  • Loading branch information
ehuss authored Jul 8, 2021
2 parents 30975d7 + 68c6300 commit c3bc392
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,6 @@ jobs:
rust: stable-msvc
steps:
- uses: actions/checkout@v2
- name: Install fossil (Ubuntu)
run: sudo apt update -y && sudo apt install fossil -y
if: matrix.os == 'ubuntu-latest'
- name: Install fossil (macOS)
run: brew install fossil
if: matrix.os == 'macos-latest'
- name: Install fossil (Windows)
run: |
mkdir fossil
echo ./fossil >> $GITHUB_PATH
cd fossil
curl -LJO https://www.fossil-scm.org/fossil/uv/fossil-w64-2.12.1.zip
unzip fossil-w64-2.12.1.zip
curl -LJO https://curl.haxx.se/ca/cacert.pem
./fossil set --global ssl-ca-location $(pwd)/cacert.pem
if: matrix.os == 'windows-latest'
- name: Install rust
run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- name: Run tests
Expand Down
4 changes: 4 additions & 0 deletions tests/test_clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ fn unknown_crate() {
}

#[test]
// Fossil tests cause a lot of trouble on CI.
// Currently chiselapp.com is having a certificate problem
// (see https://groups.google.com/g/comp.lang.tcl/c/fgAfAFfiHPo)
#[ignore]
fn clone_fossil() {
// Ensure `fossil` is a spawnable process on the machine
assert!(std::process::Command::new("fossil").output().is_ok());
Expand Down

0 comments on commit c3bc392

Please sign in to comment.