Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Adding ProdSec consolidated workflow files #1

Adding ProdSec consolidated workflow files

Adding ProdSec consolidated workflow files #1

Workflow file for this run

name: Tests
on: [push]
jobs:
test-python:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
test-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Install package
run: npm install
- name: Lint
run: npm run prettier:check
- name: Test
run: npm run test