Skip to content

Commit

Permalink
Chg(gha): python version to matrix of 3.6-11
Browse files Browse the repository at this point in the history
  • Loading branch information
jusjusjus committed Aug 16, 2024
1 parent 7e6bcc6 commit 7ae1185
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/lint_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ jobs:
name: Lint and Test
# Set the type of machine to run on
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6.7, 3.8, 3.9, 3.10, 3.11]
steps:
# Check out the latest commit from the current branch
- name: Checkout Current Branch
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Python 3.6.7
uses: actions/setup-python@v2
- name: Setup Python { { matrix.python-version } }
uses: actions/setup-python@v5
with:
python-version: '3.6.7'
python-version: ${{ matrix.python-version }}

- name: Cache Dependencies
uses: actions/cache@v2
Expand All @@ -33,11 +36,11 @@ jobs:
key: v1-dependencies-${{ hashFiles('**/requirements.txt') }}
restore-keys: v1-dependencies-

- name: Install Dependences
run: pip install -r requirements.txt -r requirements-dev.txt
- name: Install Package
run: pip install .

- name: Run Setup Script
run: python setup.py install
- name: Install Development Dependences
run: pip install -r requirements.txt -r requirements-dev.txt

- name: Linting
run: flake8
Expand Down
2 changes: 1 addition & 1 deletion mffpy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.0-develop"
__version__ = "0.9.0"

0 comments on commit 7ae1185

Please sign in to comment.