From cd0a045ed1b156daf9fd857985e0daec3adcf4df Mon Sep 17 00:00:00 2001 From: Dpbm Date: Tue, 9 Jul 2024 14:04:10 -0300 Subject: [PATCH] updated readme --- .github/workflows/cmake-build-test.yml | 10 ---------- environment.yml | 2 ++ readme.md | 9 +++++++++ requirements-dev.txt | 4 ++++ 4 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 requirements-dev.txt diff --git a/.github/workflows/cmake-build-test.yml b/.github/workflows/cmake-build-test.yml index 9b763b4..dbae2f7 100644 --- a/.github/workflows/cmake-build-test.yml +++ b/.github/workflows/cmake-build-test.yml @@ -12,16 +12,6 @@ jobs: - uses: actions/checkout@v3 - name: Prepare ubuntu - run: | - chmod +x ./dep-ubuntu.sh && ./dep-ubuntu.sh \ - git config --global user.name "" \ - git config --global user.email "" - - - uses: actions/setup-python@v5 - with: - python-version: "3.10" - - - name: Setup python run: python -m pip install -r requirements.txt - name: Run script to Build and Test diff --git a/environment.yml b/environment.yml index 131c2b3..8249893 100644 --- a/environment.yml +++ b/environment.yml @@ -8,3 +8,5 @@ dependencies: - pip: - numpy - pygame + - jupyterlab + - matplotlib diff --git a/readme.md b/readme.md index 6a9a9e5..e4751a0 100644 --- a/readme.md +++ b/readme.md @@ -228,6 +228,15 @@ python ./pygame-qubo-test/main.py https://github.com/Dpbm/snake-ai/assets/75098594/783bd111-b414-4b62-893c-becf346cb6c8 +If you want to understand how the tests to map the qubo version were done, you can do: + +``` +# case you used pip before +# pip install -r requirements-dev.txt + +jupyter lab qubo-test.ipynb +``` + ## Credits diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..73c1fb8 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,4 @@ +pygame +numpy +jupyterlab +matplotlib