Skip to content

Commit

Permalink
ci: disable macos
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Sep 18, 2024
1 parent d93acce commit aad8572
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: CI

on:
Expand All @@ -19,8 +18,8 @@ jobs:
strategy:
matrix:
include:
- os: macos-latest
target: x86_64-osx
# - os: macos-latest
# target: x86_64-osx
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
coverage: true
Expand All @@ -43,7 +42,10 @@ jobs:

- name: Collect coverage data
if: ${{matrix.coverage}}
run: cargo llvm-cov nextest --lcov --output-path lcov.info
uses: actions-rs/cargo@v1
with:
command: llvm-cov
args: nextest --lcov --output-path lcov.info --test-threads=1

- name: Upload coverage to Codecov
if: ${{matrix.coverage}}
Expand All @@ -59,7 +61,6 @@ jobs:
command: nextest
args: run --test-threads=1


lints:
name: Lints & Format
runs-on: ubuntu-latest
Expand Down Expand Up @@ -104,4 +105,4 @@ jobs:
- name: Run bats test harnesss
run: |
docker build -t bombadil-tests ./
docker run bombadil-tests
docker run bombadil-tests
3 changes: 2 additions & 1 deletion src/dots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ mod tests {
vars: Dot::default_vars(),
};

run_cmd!(ls - larth)?;
run_cmd! {ls -larth}?;

dot.traverse_and_copy(
&source,
Expand Down Expand Up @@ -580,6 +580,7 @@ mod tests {
mkdir dir;
echo "Hello {{name}}" > dir/template;
echo "name=\"Tom\"" > dir/my_vars.toml;
ls -larth;
)?;

let dot = Dot {
Expand Down
2 changes: 1 addition & 1 deletion src/gpg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ mod test {
run_cmd!(
gpg --batch --yes --import $crate_dir/tests/gpg/public.gpg;
gpg --batch --yes --import $crate_dir/tests/gpg/private.gpg;
gpg --batch --yes --import-ownertrust < $crate_dir/tests/gpg/trust.txt
gpg --batch --yes --import-ownertrust < $crate_dir/tests/gpg/trust.txt;
)
.unwrap();
}
Expand Down

0 comments on commit aad8572

Please sign in to comment.