-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH action: Finished setting up GH action to run subset pipeline and t…
…ests - Updated the GH action workflow that does build & tests: - download inputs - download robot.jar - Add: Docs - Bug fix: Tests: Corrected the robot.jar command
- Loading branch information
Showing
3 changed files
with
55 additions
and
13 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 |
---|---|---|
|
@@ -19,20 +19,51 @@ jobs: | |
matrix: | ||
python-version: ["3.11"] | ||
steps: | ||
# Setup | ||
# Common setup | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Poetry | ||
- name: Install package manager | ||
uses: snok/[email protected] | ||
- name: Install dependencies & project | ||
- name: Install Python dependencies | ||
run: poetry install --no-interaction | ||
# Build | ||
- name: Run test suite | ||
run: poetry run comploinc --fast-run build | ||
# Test | ||
- name: Run test suite | ||
run: poetry run python -m unittest discover | ||
# Download additional non-Python dependencies | ||
- name: Download additional dependencies | ||
run: wget https://github.com/ontodev/robot/releases/latest/download/robot.jar | ||
# Download and extract build sources | ||
- name: Download inputs / sources | ||
run: | | ||
echo "${{ secrets.DL_LINK_ID }}" > env | ||
cat env | ||
ls -las env | ||
echo "${{ secrets.DL_LINK }}" > env | ||
cat env | ||
ls -las env | ||
echo ${{ secrets.DL_LINK_ID }} > env | ||
cat env | ||
ls -las env | ||
echo ${{ secrets.DL_LINK }} > env | ||
cat env | ||
ls -las env | ||
# echo 'https://drive.google.com/uc?export=download&id="{{ secrets.DL_LINK_ID }}' -o confirmation.html | ||
# echo "https://drive.usercontent.google.com/download?id="{{ secrets.DL_LINK_ID }}&export=download&confirm=t" -o build-sources.zip | ||
# echo 'https://drive.google.com/uc?export=download&id="${{ secrets.DL_LINK_ID }}"' -o confirmation.html | ||
# echo "https://drive.usercontent.google.com/download?id="${{ secrets.DL_LINK_ID }}"&export=download&confirm=t" -o build-sources.zip | ||
# echo 'https://drive.google.com/uc?export=download&id="{{ secrets.DL_LINK }}' -o confirmation.html | ||
# echo "https://drive.usercontent.google.com/download?id="{{ secrets.DL_LINK }}&export=download&confirm=t" -o build-sources.zip | ||
# echo 'https://drive.google.com/uc?export=download&id="${{ secrets.DL_LINK }}"' -o confirmation.html | ||
# echo "https://drive.usercontent.google.com/download?id="${{ secrets.DL_LINK }}"&export=download&confirm=t" -o build-sources.zip | ||
# run: | | ||
# curl -L -c cookies.txt 'https://drive.google.com/uc?export=download&id="${{ secrets.DL_LINK_ID }}"' -o confirmation.html | ||
# curl -L -b cookies.txt "https://drive.usercontent.google.com/download?id="${{ secrets.DL_LINK_ID }}"&export=download&confirm=t" -o build-sources.zip | ||
# unzip build-sources.zip | ||
# rm build-sources.zip cookies.txt confirmation.html | ||
# # Build | ||
# - name: Build | ||
# run: poetry run comploinc --fast-run build | ||
# # Test | ||
# - name: Run test suite | ||
# run: poetry run python -m unittest discover |
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