Skip to content

Commit

Permalink
Add install workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
biosafetylvl5 committed Oct 14, 2024
1 parent 535e90f commit 8835b09
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Pytest

on:
push:
branches: 'main'
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12'] # Specify the Python versions you want to test

steps:
- name: Check out the repository code
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e .
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e . # Install your package brassy
python3 -m pip install -e .
python3 -m pip install pytest
- name: Run pytest
Expand Down

0 comments on commit 8835b09

Please sign in to comment.