File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2727 // Use 'forwardPorts' to make a list of ports inside the container available locally.
2828 // "forwardPorts": [],
2929 // Uncomment the next line to run commands after the container is created.
30- "postCreateCommand" : " pip install . && pip install pytest "
30+ "postCreateCommand" : " pip install -e . "
3131 // Configure tool-specific properties.
3232 // "customizations": {},
3333 // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ USER root
99# Install dev packages, just git for now.
1010RUN dnf upgrade --refresh -y && dnf install -y python3-pip
1111RUN dnf upgrade --refresh -y && dnf install -y git python3 python3-devel gcc-c++ gdb make
12- RUN pip install setuptools wheel pybind11
12+ RUN pip install setuptools wheel pybind11 pytest
Original file line number Diff line number Diff line change @@ -4,5 +4,3 @@ def test_basic():
44 assert m .__version__ == "0.0.1"
55 assert m .add (1 , 2 ) == 3
66 assert m .subtract (1 , 2 ) == - 1
7-
8- test_basic ()
You can’t perform that action at this time.
0 commit comments