Skip to content

frontend-CI: revert to own push step #12

frontend-CI: revert to own push step

frontend-CI: revert to own push step #12

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: test
on:
push:
branches: ["main", "development"]
pull_request:
branches: ["main", "development"]
jobs:
test-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
mongodb-version: ["4.2"]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.10.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
python -m venv env
source env/bin/activate
pip install -r requirements.txt
pip install https://github.com/JamesRitchie/scikit-rvm/archive/master.zip
- name: Run tests
run: |
source env/bin/activate
./run-tests.sh