Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Keith Fung 631a48ae42
🐍 Python to 3.9.5 (#409)
* 🐍  Update required python version to 3.9.5

- Update python
- Update black to support it
- Update pylint python number
- Update python version in workflows
- Update Documentation

*  Resolve linting for singleton after upgrade
2021-08-03 15:47:31 -04:00
Keith Fung 6d70f66027
🚀 Improve Code Analysis (#390)
- Allow to write to security events
- Allow fast-fail to ensure all code testing is run
- Allow read actions and contents for code analysis
- Add to schedule every monday
- Ensure dispatch can run
- Ensure branches specifically target main, releases, and integration branches
2021-07-20 09:44:06 -04:00
Keith Fung a5232f12ce 🚨 Update validation to publish not package 2021-04-22 15:55:09 -04:00
Keith Fung 70f5bc2778 🚨 Resolve GitHub workflow changes to get python version 2021-04-22 12:10:00 -04:00
Keith Fung 2ce24861ab 🚨 Fix poetry path on release workflow 2021-04-21 17:29:29 -04:00
Keith Fung e04dcb6a58
Updating Templates (#294)
* 📄 Add Issue Templates

* 📄 Updates to PR Template
2021-02-03 13:26:16 -05:00
Keith Fung 23002eb48e
Pipenv to Poetry (#291)
* 🛠  Migrate from pipenv to poetry

- Removed multitude of configuration files in favor of a single pyproject.toml
- Removed redundancy between pipfile and setup.py in favor of a single pyproject.toml
- Remove pydocstylerc since it is a duplicate of pylint with other settings that are currently disabled
- Removed Pipfile and the need for pipenv

* 📄 Added a hint to instead toml support in vscode

* ⤵️ Move bench into tests

* 🛠 Update MakeFile and Workflows

- 🚨 Includes removal of windows workflow due to new use of pyproject.toml
- Adjustment of commands to use poetry instead of pipenv
- Adjustment of installation to simply it using poetry
- Adjustment of mkdocs due to a memory leak bug
-  Add make path and environment

Update release pipeline

* 🙈 Add test-results to gitignore
2021-01-27 08:03:59 -05:00
Ryan Korsak cf995e9353
Support command line arguments in sample_generator and fix spoil rate (#162)
* Support command line arguments in sample_generator

Run `pipenv run ./src/electionguardtest/sample_generator.py --help` for more information.

This also fixes a bug with spoiling the generated ballots.  Because it was using a modulo operator when spoiling, only ~1% of the ballots would ever be spoiled, regardless of the desired amount.

* Run sample data generation in CI with 0% spoiled ballots
2020-09-04 15:51:57 -04:00
Keith Fung 94f3ddf3e4
Feature/output data samples (#147)
*  Add Threshold to Sample Generator

* + Add Sample Ballot Sets

* 🚀 Update PR and Release Workflow to generate sample data

* 🐛 Adjust PlaintextTally Output

Spoiled information must be output. Output plaintext tally instead of PublishedPlaintextTally. Add issue #148
2020-08-18 15:30:01 -04:00
Keith Fung 7c6238c86f
Balerion HotFix for Release Build Workflow (#140)
*  Modify Pull Request Workflow for Shorter Build times

- Reduce MacOS and Windows to only run integration tests. 
- Add make file to run all integration tests

* 🐛 Release Build CI Fixes

- Simplify commands for CI
- Add test pypi commands for CI for easy flipping
- Add noshow to stop existing issue
- Add release commands

* 🐛 Add atomic writes for windows

* 🆙 Update Version to v1.1.1
2020-08-06 19:13:24 -07:00
Keith Fung 6e29792f96
Release and Packaging Workflow (#69)
* 🚀 Release Workflow and Make commands

🚀 Release Workflow and Make commands
- dependency-graph
- package commands
📝 Update Contact Info

* 📝 Document Project Workflow

Ensure users understand what is happening in the packaging process.

* 🎉 Add Thanks!

- Removed license since it's already a badge.
2020-07-01 15:40:33 -04:00
Josh Brown-White a8c72182d2
Add CodeQL scanning to repository (#67)
* Add CodeQL scanning to repository

Add the Semmle CodeQL analysis to scan each commit, and to run on a schedule (see "cron" at top for schedule)

* 🔧 Update PR Workflow with CodeQL

- Remove isolated workflow

Co-authored-by: Keith Fung <keith.fung@infernored.com>
Co-authored-by: Keith Fung <keithrfung@users.noreply.github.com>
2020-06-23 13:57:08 -04:00
Matt Wilhelm 2aa00d4eda
Add PR Template (#29) 2020-05-21 13:41:52 -04:00
Keith Fung e6fcf578bc
Update Documentation for Windows Flow (#23)
* 📝Update Readme Instructions

-Focus on make

* 📦Upgrade Pip in Windows Workflow

* 🔧 Attempt to install wheel
2020-05-11 08:55:08 -04:00
Keith Fung 8cf9c7ba87
MakeFile to ease development process (#22)
* Add Code Coverage Reports

* 🔥Remove Toxfile

* MakeFile to ease development process

- Update workflow
- Create MakeFile
2020-05-06 16:03:39 -04:00
Keith Fung 9fcfab9285
🔧 Windows Workflow (#20)
Create Windows GitHub Action Job
- Change version to 2.0.8 for GMPY2
- Add precompiled versions of gmpy2 for 32 bit and 64 bit windows 
- Bypass tests for windows due to speed issues
- Update Readme
2020-05-05 10:13:25 -04:00
Keith Fung 967a097901 Add Code Coverage
- Add coverage set to 90
- Remove pytest-cov dependency
2020-04-29 12:41:00 -04:00
Keith Fung 0961b36a04 🔧 Add Linting Bypass and Adjustments to MyPy
- MyPy check is silly and needs to have direct directories and files
- Due to errors with last PR some pieces need to temporarily be bypassed.
2020-04-29 12:41:00 -04:00
Keith Fung 01a0c67ea2 MacOS Workflow 2020-04-29 12:41:00 -04:00
Keith Fung e95fec712a 🔧Configure Github PR Workflow
🔧Configure MyPy to match tox file
🔧Add Black Configuration 
🔧Update Pylint configuration
2020-04-29 12:41:00 -04:00
Dan Wallach 6c6ec08bd0
switched to GMPY2; all tests passing and runs much faster 2020-03-18 17:37:06 -05:00
Dan Wallach 3fb8b191f0
another attempt at getting GitHub Actions working 2020-03-12 13:29:50 -05:00
Dan Wallach 7fd62e4afa
trying to fix Tox on GitHub Actions 2020-03-12 13:26:12 -05:00
Dan Wallach 3ab35b17d4
added skeletal GitHub Actions runner 2020-03-12 13:22:18 -05:00