From c84520b61cdca4a30be963a1aeb81df47dfe118a Mon Sep 17 00:00:00 2001 From: jparisu <69341543+jparisu@users.noreply.github.com> Date: Thu, 1 Feb 2024 12:17:55 +0100 Subject: [PATCH] test install action and tests (#4) * test install action and tests Signed-off-by: jparisu * Add requirements Signed-off-by: jparisu --------- Signed-off-by: jparisu --- .github/workflows/docs.yml | 4 +++- .github/workflows/install.yml | 11 +++++++++-- requirements.txt | 2 ++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6d7e323..2217688 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,7 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + + - name: Checkout + uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 2d9e6d2..4a6280c 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -13,15 +13,22 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + + - name: Checkout + uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' + # - name: Install dependencies + # run: | + # python -m pip install --upgrade pip + # pip install -r requirements.txt + - name: Install package from current branch run: pip install --upgrade git+https://github.com/jparisu/sIArena.git@${GITHUB_REF#refs/heads/} - - name: Run testu + - name: Run tests run: pytest diff --git a/requirements.txt b/requirements.txt index ab28370..6a279d6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ noise>=1.2.1 pytest +matplotlib +numpy