fix: Dockerfile to reduce vulnerabilities #832
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Status | |
on: | |
- push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
#- uses: actions/[email protected] | |
# with: | |
# node-version: "12.x" | |
# registry-url: "https://registry.npmjs.org" | |
- name: Install Python dependencies | |
run: | | |
pip install poetry | |
poetry install | |
- name: Run Test | |
run: | | |
poetry run pytest --no-cov | |
# - name: Install Node dependencies | |
# run: npm install | |
# - run: cp .env.example .env | |
# - name: Run Node lints | |
# run: npm run lint |