Fixed tests in container
This commit is contained in:
@@ -27,4 +27,5 @@ Thumbs.db
|
||||
|
||||
# Arch pkg artifacts
|
||||
*.pkg.tar.*
|
||||
*.log
|
||||
*.log
|
||||
package-manager-*
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -30,4 +30,5 @@ Thumbs.db
|
||||
.nix/
|
||||
|
||||
# Ignore logs
|
||||
*.log
|
||||
*.log
|
||||
package-manager-*
|
||||
5
Makefile
5
Makefile
@@ -45,8 +45,11 @@ test: build
|
||||
pacman -U --noconfirm /src/package-manager-*.pkg.tar.*; \
|
||||
echo "Run tests inside Nix devShell..."; \
|
||||
git config --global --add safe.directory /src && \
|
||||
cd /src && \
|
||||
nix develop .#default --no-write-lock-file -c \
|
||||
python3 -m unittest discover -s tests -p \"test_*.py\" \
|
||||
python3 -m unittest discover \
|
||||
-s /src/tests \
|
||||
-p "test_*.py" \
|
||||
'
|
||||
|
||||
install:
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user