Skip to content

Commit

Permalink
test install action and tests (#4)
Browse files Browse the repository at this point in the history
* test install action and tests

Signed-off-by: jparisu <[email protected]>

* Add requirements

Signed-off-by: jparisu <[email protected]>

---------

Signed-off-by: jparisu <[email protected]>
  • Loading branch information
jparisu authored Feb 1, 2024
1 parent a14c983 commit c84520b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
noise>=1.2.1
pytest
matplotlib
numpy

0 comments on commit c84520b

Please sign in to comment.