-
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.
Merge pull request #62 from HPCNow/main
froster v0.12.20
- Loading branch information
Showing
8 changed files
with
944 additions
and
554 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
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,41 @@ | ||
name: Test "froster index" command | ||
|
||
run-name: Test "froster index" command | ||
|
||
on: [push, pull_request] | ||
|
||
# We have two identicals jobs, but one of them has the DEBUG environment variable set to 1. | ||
# There reason is to have a way to print the debug log in case of failure. | ||
# But also to have a way to run the tests without the debug flag set, which is the default behavior. | ||
|
||
# Avoid paralelism, because the tests are using the same resources in AWS S3 | ||
|
||
jobs: | ||
froster-index: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Create and activate virtual environment | ||
run: | | ||
python -m venv venv | ||
source venv/bin/activate | ||
- name: Install froster | ||
env: | ||
LOCAL_INSTALL: true | ||
run: ./install.sh | ||
|
||
- name: Run test_config tests | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET: ${{ secrets.AWS_SECRET }} | ||
run: python3 tests/test_index.py |
Oops, something went wrong.