Skip to content

Commit

Permalink
Merge pull request #19 from software-students-fall2023/KeiChanges
Browse files Browse the repository at this point in the history
trying to edit workflow
  • Loading branch information
kingslayerrq authored Nov 6, 2023
2 parents 92d99ed + a29f3ce commit 884c3dc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ run-name: ${{ github.actor }} is automating using Github Actions
on:
push:
branches: [main, master]
pull-request:
pull_request:
branches: [main, master]


Expand All @@ -14,22 +14,23 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: ["3.6", "3.8", "3.10"]
steps:
- 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: |
python -m pip install --upgrade pip
pip install pytest
pipenv install --dev
- name: Install package in editable mode
run: pipenv run pip install -e .
- name: Test with pytest
run: pipenv run pytest
matrix:
python-version: ["3.7", "3.9", "3.11", "3.12"]
steps:
- 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: |
python -m pip install --upgrade pip
pip install --user pipenv
pip install pytest
pipenv install --dev
- name: Install package in editable mode
run: pipenv run pip install -e .
- name: Test with pytest
run: pipenv run pytest


2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ twine = "*"
[dev-packages]

[requires]
python_version = "3.11"
python_version = "3"

0 comments on commit 884c3dc

Please sign in to comment.