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