Feature/gitops improvements #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python 3.10 Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.10 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
apt-get update | |
apt-get -y install unixodbc-dev | |
git config --global --add safe.directory /__w/BitSwan/BitSwan | |
pip3 install --upgrade cython | |
pip3 install . | |
pip install -r requirements-dev.txt | |
- name: Run tests | |
run: | | |
pytest bspump/file | |
- name: Run linter | |
run: | | |
black --check bspump | |
ruff bspump |