Skip to content

Commit

Permalink
Install mreg-cli from binary release
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindhagberg committed Nov 12, 2024
1 parent 19bafa0 commit b4a3e19
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,17 @@ jobs:
with:
python-version: 3.11
- name: Install mreg-cli
run: |
curl -L -o mreg-cli https://github.com/unioslo/mreg-cli/releases/download/1.0.1/mreg-cli-ubuntu-latest-3.12
chmod 0755 mreg-cli
mv mreg-cli /usr/bin/
- name: Run the tests
run: |
wget -nd https://github.com/unioslo/mreg-cli/archive/refs/heads/master.zip
unzip master.zip
cd mreg-cli-master
pip install -r requirements.txt
pip install -e .
- name: Run the tests
run: mreg-cli-master/ci/run_testsuite_and_record.sh
pip install -r requirements-dev.txt
mreg-cli-master/ci/run_testsuite_and_record.sh
- name: Upload the log as an artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit b4a3e19

Please sign in to comment.