Skip to content

Change loading logic #78

Change loading logic

Change loading logic #78

Workflow file for this run

name: Python and JavaScript application
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Set up Python environment and run Python tests
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Python package
run: |
pip install -e .
- name: Run Python tests
run: |
python3 -m pytest tests/pytest_tests
# Set up Node.js environment and run JavaScript tests
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # Replace with the Node.js version you need
- name: Install npm dependencies
run: npm install
- name: Run JavaScript tests
run: npm run test:jest