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

feat: show deprecation warning (#124) #103

feat: show deprecation warning (#124)

feat: show deprecation warning (#124) #103

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
test:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
steps:
- name: Checkout
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
pip install -r requirements.txt
mkdir ~/.dashcore
cp share/dash.conf.example ~/.dashcore/dash.conf
- name: Run tests
run: |
py.test -svv test/unit/
black . --check
test-ubuntu-22:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- name: Checkout
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
pip install -r requirements.txt
mkdir ~/.dashcore
cp share/dash.conf.example ~/.dashcore/dash.conf
- name: Run tests
run: |
py.test -svv test/unit/
black . --check