-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #270 from USEPA/install_testing
Tests install for python 3.9, 3.10, 3.11
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: eLCI install testing | ||
|
||
on: | ||
push: | ||
branches: [master, install_testing] | ||
pull_request: | ||
branches: [master, development] | ||
types: [opened, reopened] # excludes syncronize to avoid redundant trigger from commits on PRs | ||
workflow_dispatch: # also allow manual trigger, for testing purposes | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Update pip & install testing pkgs | ||
run: | | ||
python -VV | ||
python -m pip install --upgrade pip | ||
pip install pytest | ||
- name: Install package and dependencies | ||
env: | ||
# Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749 | ||
GIT_CLONE_PROTECTION_ACTIVE: false | ||
run: | | ||
pip install . | ||
# - name: Test with pytest | ||
# run: | | ||
# pytest |