Skip to content

Commit

Permalink
Tweaking pipeline, again
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-kevin committed Jun 1, 2021
1 parent 5f17e4e commit 3632094
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,12 @@ stages:
set -x # Echo commands before they are run
sudo apt-get update
sudo apt-get install -y build-essential libffi-dev libfuzzy-dev python3-dev
displayName: Setup Environment
- script: |
export VERSION=${BUILD_SOURCEBRANCH#"refs/tags/v"}
sudo -E env "PATH=$PATH" python -m pip install --no-cache-dir -f $(Pipeline.Workspace)/dist/ "assemblyline-incident-manager[test]==${VERSION}"
sudo env "PATH=$PATH" python -m pip install -f dist/ "assemblyline-incident-manager[test]==${VERSION}"
sudo env "PATH=$PATH" python -m pip install -r test/requirements.txt
workingDirectory: $(Pipeline.Workspace)
displayName: Install assemblyline_incident_manager
- script: pytest -rsx -vv
workingDirectory: $(Pipeline.Workspace)/test
Expand Down

0 comments on commit 3632094

Please sign in to comment.