-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ankith26-gsoc' of https://github.com/ankith26/PyElastica …
…into ankith26-gsoc
- Loading branch information
Showing
1 changed file
with
34 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,34 @@ | ||
name: elasticapp (Elastica++ based backend) tests | ||
|
||
# trigger run only on changes to the backend folder. | ||
on: | ||
push: | ||
paths: | ||
- backend/** | ||
pull_request: | ||
paths: | ||
- backend/** | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: ["3.10", "3.11", "3.12"] | ||
os: [ubuntu-latest] # , macos-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install elasticapp backend | ||
run: pip install ./backend -v | ||
|
||
- name: Run elasticapp tests | ||
run: | | ||
python -m pip install pytest | ||
pytest backend/tests |