Attempting to implement decoding tests #8
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: Phorcys CI/CD | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
architecture: x64 | |
- name: Install build-time dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel build bandit flake8 | |
- name: Linting for source code | |
run: flake8 phorcys | |
- name: Decoding tests | |
run: python -m unittest tests/deepdecoder.py | |
- name: Static security analysis | |
run: bandit -c pyproject.toml -r phorcys | |
- name: Build package | |
run: python -m build |