-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* streamline tests * remove unused files * update readme * update actions dependencies * wait for web api to be ready before starting tests
- Loading branch information
1 parent
b0b4e09
commit 302b78b
Showing
29 changed files
with
140 additions
and
573,169 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 |
---|---|---|
|
@@ -17,17 +17,17 @@ jobs: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install poetry | ||
uses: abatilo/actions-poetry@v2.0.0 | ||
uses: abatilo/actions-poetry@v3 | ||
with: | ||
poetry-version: "1.3.1" | ||
poetry-version: 1.8.3 | ||
|
||
- name: Start Alfalfa | ||
uses: NREL/alfalfa-action@v1 | ||
|
@@ -36,6 +36,11 @@ jobs: | |
compose-file-ref: "develop" | ||
worker-scale: 2 | ||
|
||
- name: Wait for web API | ||
uses: iFaxity/[email protected] | ||
with: | ||
resource: http://localhost | ||
|
||
- name: Run tests with poetry and pytest | ||
run: | | ||
poetry install | ||
|
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.