1
0
Fork 0

change version checking order

This commit is contained in:
Nick Sweeting 2021-04-24 04:31:05 -04:00
parent 3e7d8e5264
commit 3d40693f1c

View file

@ -38,21 +38,17 @@ jobs:
run: | run: |
cd deb_dist/ cd deb_dist/
sudo apt-get install ./archivebox*.deb sudo apt-get install ./archivebox*.deb
cd ..
python3 -c 'from distutils.core import run_setup; result = run_setup("./setup.py", stop_after="init"); print("\n".join(result.install_requires + result.extras_require["sonic"]))' > ./requirements.txt python3 -c 'from distutils.core import run_setup; result = run_setup("./setup.py", stop_after="init"); print("\n".join(result.install_requires + result.extras_require["sonic"]))' > ./requirements.txt
python3 -m pip install -r ./requirements.txt python3 -m pip install -r ./requirements.txt
archivebox --version
# sudo python3 -m pip install --upgrade --ignore-installed .
- name: Check ArchiveBox version - name: Check ArchiveBox version
run: | run: |
# must create dir needed for snaps to run as non-root on github actions # must create dir needed for snaps to run as non-root on github actions
sudo mkdir -p /run/user/1001 && sudo chmod -R 777 /run/user/1001 sudo mkdir -p /run/user/1001 && sudo chmod -R 777 /run/user/1001
mkdir "${{ github.workspace }}/data" && cd "${{ github.workspace }}/data" mkdir "${{ github.workspace }}/data" && cd "${{ github.workspace }}/data"
archivebox init
archivebox config --set SAVE_READABILITY=False
archivebox config --set SAVE_MERCURY=False
archivebox config --set SAVE_SINGLEFILE=False
archivebox --version archivebox --version
archivebox init --setup
- name: Add some links to test - name: Add some links to test
run: | run: |