Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Add ruby tests in Nix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 6, 2023
1 parent 0034968 commit 9cbac46
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_PATH: "vendor/bundle"
8 changes: 5 additions & 3 deletions .github/workflows/ci-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- run: nix flake check
- run: nix develop --command ./bin/setup
- name: Log current versions
run: nix develop --command rake inspect_dependencies
- name: Tests
run: nix develop --command rake check_non_ruby
run: nix develop --command bundle exec rake inspect_dependencies
- name: Test with external depdendencies
run: nix develop --command bundle exec rake check_non_ruby
- name: Test with Ruby
run: nix develop --command bundle exec rake simulate_ci
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.gem
*.rbc
.bundle
.bundle/*
!.bundle/config
.config
.DS_Store
coverage
Expand Down

0 comments on commit 9cbac46

Please sign in to comment.