Setting up CI project
Project description
ExamFinalScripting
Who made this project ?
Group :
- Augustin Marie
- Aya Najare
- Remi Staelen
Want to use this project ?
- Fork / Clone
- 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
- Install requirements
$ pip install -r requirements.txt
- Install poetry
$ pipx install poetry
- Install poetry dependencies
$ poetry install
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40b9f19cd211c5e9876756767cbc24ef7b27cc04158d8b7d8113836042e2cc24
|
|
| MD5 |
c7a2c0c07d7b525b6ba958130d404511
|
|
| BLAKE2b-256 |
34204510f028560e0904ebe82e50e8107b8d10419ec15a46dd185119a8b1775b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05bd68e92cbab3b2291bead94543bb0a2feedea5bc98eb1fc1053bda87b36df4
|
|
| MD5 |
a7029434ab5318bf2b2b52cc89578026
|
|
| BLAKE2b-256 |
5b9413d33f35c9b0f25a7eeb71097d4906ec0e30def6df06334b05f95539d701
|