Merge branch 'main' of https://github.com/artemis-beta/enigma #1
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: python3.12 | |
on: [push] | |
jobs: | |
build: | |
name: Ubuntu (Python3.12) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install Poetry | |
run: python -m pip install poetry | |
- name: Install Enigma | |
run: poetry install | |
- name: Run Unit Tests | |
run: poetry run pytest --cov=enigma --cov-report xml | |
- name: Run Bandit | |
run: poetry run bandit -r enigma -c pyproject.toml | |
- name: "Upload coverage to Codecov" | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true |