File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ jobs:
2020
2121 steps :
2222 - name : Check out the repository
23- uses : actions/checkout@v4
23+ uses : actions/checkout@v4 # This is an action, so it uses 'uses'
2424
2525 - name : Set up Python ${{ matrix.python-version }}
26- uses : actions/setup-python@v3
26+ uses : actions/setup-python@v3 # This is an action, so it uses 'uses'
2727 with :
2828 python-version : ${{ matrix.python-version }}
2929
3030 - name : Install OpenSSL
31- run : sudo apt-get install -y openssl
31+ run : sudo apt-get install -y openssl # This is a command, so it uses 'run'
3232
3333 - name : Generate private and public keys
3434 run : |
5050 echo PUBLIC_KEY_PATH=$(pwd)/security/public_key.pem >> .env
5151
5252 - name : Check if .env has been updated
53- run : |
54- cat .env
53+ run : cat .env # This is a command, so it uses 'run'
5554
5655 - name : Clean up keys (Optional)
56+ run : |
57+ rm -rf security
58+ echo "Keys removed after use." # This is a command, so it uses 'run'
59+
60+ - name : Install Dependencies
61+ run : |
62+ python -m pip install --upgrade pip
63+ pip install -r requirements.txt # This is a command, so it uses 'run'
64+
65+ - name : Run Tests
66+ run : python manage.py test # This is a command, so it uses 'run'
You can’t perform that action at this time.
0 commit comments