-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes various Nimble and Dependency handling issues
This PR started to work on #117 but uncovered a few other items which needed cleaned up or fixed. Changes: Combine multiple ways to search for Nimble files into one place fixes some edge cases in handling finding Nimble files fixes issue with writing default config file and handling the deps cli option osutils.nim provides shims for unit testing proc's using a subset of file operations unit tests for various nimble file states unit tests for parsing PkgUrl's fixes some adhoc git execs to use the gitops module, restoring logging etc
- Loading branch information
Showing
22 changed files
with
436 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,19 +15,19 @@ jobs: | |
target: | ||
- os: linux | ||
cpu: amd64 | ||
nim_branch: devel | ||
nim_branch: version-2-0 | ||
# - os: linux | ||
# cpu: i386 | ||
# nim_branch: devel | ||
- os: macos | ||
cpu: amd64 | ||
nim_branch: devel | ||
nim_branch: version-2-0 | ||
- os: windows | ||
cpu: amd64 | ||
nim_branch: devel | ||
nim_branch: version-2-0 | ||
- os: windows | ||
cpu: i386 | ||
nim_branch: devel | ||
nim_branch: version-2-0 | ||
include: | ||
- target: | ||
os: linux | ||
|
@@ -52,6 +52,7 @@ jobs: | |
git config --global init.defaultBranch master | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "atlasbot" | ||
git config --global gc.auto 0 | ||
- name: Checkout atlas | ||
uses: actions/checkout@v4 | ||
|
@@ -128,6 +129,10 @@ jobs: | |
version: ${{ matrix.target.nim_branch }} | ||
architecture: ${{ matrix.target.cpu }} | ||
|
||
- name: Nim Version | ||
run: | | ||
nim -v | ||
- name: Run tests | ||
run: | | ||
cd atlas | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ tests/* | |
!tests/*.* | ||
atlas | ||
deps.png | ||
nim.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.