Skip to main content

Setting up CI project

Project description

ExamFinalScripting

Who made this project ?

Group :

- Augustin Marie
- Aya Najare
- Remi Staelen

Want to use this project ?

  1. Fork / Clone
  2. Create and activate a virtual environment without poetry

Install venv

$ py -m pip install --user virtualenv

Creating virtual env

$ py -m venv env

Activating virtual env

$ .\env\Scripts\activate
  1. Install requirements
$  pip install -r requirements.txt
  1. Install poetry
$  pipx install poetry
  1. Install poetry dependencies
$  poetry install 
  1. Activate virtual env using poetry
$  poetry shell 

Run the tests with poetry:

Unit tests

Unit tests are made with the unittest, to launch them manually, run :

$ poetry run python -m unittest discover

Functional tests

Functional tests are made with behave, to launch them manually, run :

$ poetry run behave

CI made with

To manually run linters with poetry, you can use the following commands :

flake8

$ poetry run flake8 .

Isort

$ poetry run isort .

Bandit

$ poetry run bandit -r .

Build & Publish with poetry

Authentication

$ poetry config http-basic.pypi <username> <password>

Build & Publish

$ poetry publish --build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fizzbuzz_a_a_r_2-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fizzbuzz_a_a_r_2-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file fizzbuzz_a_a_r_2-0.1.0.tar.gz.

File metadata

  • Download URL: fizzbuzz_a_a_r_2-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.6 Windows/10

File hashes

Hashes for fizzbuzz_a_a_r_2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 40b9f19cd211c5e9876756767cbc24ef7b27cc04158d8b7d8113836042e2cc24
MD5 c7a2c0c07d7b525b6ba958130d404511
BLAKE2b-256 34204510f028560e0904ebe82e50e8107b8d10419ec15a46dd185119a8b1775b

See more details on using hashes here.

File details

Details for the file fizzbuzz_a_a_r_2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fizzbuzz_a_a_r_2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.6 Windows/10

File hashes

Hashes for fizzbuzz_a_a_r_2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05bd68e92cbab3b2291bead94543bb0a2feedea5bc98eb1fc1053bda87b36df4
MD5 a7029434ab5318bf2b2b52cc89578026
BLAKE2b-256 5b9413d33f35c9b0f25a7eeb71097d4906ec0e30def6df06334b05f95539d701

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page