-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Adds poetry * feat: Adds workflow * feat: Adds testing * chore: Removes conda * Replaced .append with pd.concat for pandas upgrade Co-authored-by: Nathan Hui <[email protected]> Co-authored-by: Sean Perry <[email protected]> Co-authored-by: TQ Zhang <[email protected]> Co-authored-by: Samantha Prestrelski <[email protected]>
- Loading branch information
1 parent
4b27fa6
commit c991cda
Showing
23 changed files
with
5,223 additions
and
1,457 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,26 @@ | ||
name: Environment Test | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
# continue-on-error: true | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, ubuntu-22.04, windows-latest, macos-12, macos-11] | ||
python-version: ["3.8", "3.9", "3.10"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip poetry | ||
poetry install | ||
- name: Run test | ||
env: | ||
NAS_CREDS: ${{ secrets.NAS_CREDS }} | ||
run: | | ||
poetry run python -m pytest pyha_tests |
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
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,7 @@ | ||
{ | ||
"python.testing.pytestArgs": [ | ||
"pyha_tests" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true | ||
} |
Oops, something went wrong.