Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Release Trident 1.0.1 #786

Release Trident 1.0.1

Release Trident 1.0.1 #786

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
python-version: [ "3.8" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8
python -m pip install isort
python -m pip install black
python -m pip install black[jupyter]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Check Python syntax errors
run: |
flake8 . --count --show-source --statistics
- name: Validate the coding style
run: |
python -m isort . --check
python -m black . --check
- name: Install Trident
run: |
bash install_package.sh
- name: Test with pytest
run: |
python -m pytest -n 6 .