Update .gitea/workflows/deploy.yml
This commit is contained in:
@@ -9,17 +9,22 @@ jobs:
|
||||
test:
|
||||
name: Test Build
|
||||
runs-on: ubuntu-latest
|
||||
container: python:3.10-slim
|
||||
container: node:18-bullseye
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install Python
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y python3 python3-pip
|
||||
python3 --version
|
||||
pip3 --version
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -V
|
||||
pip -V
|
||||
pip install --upgrade pip
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
pip3 install --upgrade pip
|
||||
if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi
|
||||
|
||||
- name: Run basic tests
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user