File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1515 - name : Checkout Code
1616 uses : actions/checkout@v3
1717
18+ - name : Cache pip
19+ uses : actions/cache@v3
20+ with :
21+ path : ~/.cache/pip
22+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
23+ restore-keys : |
24+ ${{ runner.os }}-pip-
25+
26+ - name : Clean up disk space
27+ run : |
28+ sudo rm -rf /usr/share/dotnet
29+ sudo rm -rf /opt/ghc
30+ sudo rm -rf /usr/local/lib/android
31+ sudo apt-get clean
32+
1833 - name : Build Docker Image
1934 run : docker build -t classifier .
2035
Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ RUN pip3 install -r requirements.txt
3232WORKDIR /usr/src/app
3333
3434# Run the tests to ensure everything is working correctly
35- # RUN make test
35+ RUN make test
3636
3737# Set the entrypoint to run the pipeline via Makefile.run
3838ENTRYPOINT ["make" , "-f" , "Makefile.run" ]
3939
4040# Default command to run the pipeline with default input/output paths
4141CMD ["run" , "INPUT_DIR=input_raw" ]
42+
You can’t perform that action at this time.
0 commit comments