Skip to content

Commit

Permalink
Merge 033722a into 74efac9
Browse files Browse the repository at this point in the history
  • Loading branch information
adswa committed Sep 8, 2021
2 parents 74efac9 + 033722a commit f255bdb
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 48 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
INSTALL_SYSPKGS: python3-virtualenv
# system git-annex is way too old, use better one
INSTALL_GITANNEX: git-annex -m deb-url --url http://ftp.us.debian.org/debian/pool/main/g/git-annex/git-annex_8.20201127-1_amd64.deb
INSTALL_GITANNEX: git-annex -m deb-url --url http://snapshot.debian.org/archive/debian/20210906T204127Z/pool/main/g/git-annex/git-annex_8.20210903-1_amd64.deb
# Windows core tests
#- ID: WinP39core
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
Expand Down Expand Up @@ -124,8 +124,8 @@ install:
- sh: "[ -n \"$INSTALL_SYSPKGS\" ] && ( [ \"x${APPVEYOR_BUILD_WORKER_IMAGE}\" = \"xmacOS\" ] && brew install -q ${INSTALL_SYSPKGS} || sudo apt-get install --no-install-recommends -y ${INSTALL_SYSPKGS} ) || true"
# Install git-annex on windows, otherwise INSTALL_SYSPKGS can be used
# deploy git-annex, if desired
- cmd: IF DEFINED INSTALL_GITANNEX python C:\DLTMP\datalad_installer.py %INSTALL_GITANNEX%
- sh: "[ -n \"${INSTALL_GITANNEX}\" ] && python ~/DLTMP/datalad_installer.py ${INSTALL_GITANNEX}"
- cmd: IF DEFINED INSTALL_GITANNEX python C:\DLTMP\datalad_installer.py --sudo ok %INSTALL_GITANNEX%
- sh: "[ -n \"${INSTALL_GITANNEX}\" ] && python ~/DLTMP/datalad_installer.py --sudo ok ${INSTALL_GITANNEX}"
# TODO remove when datalad-installer can handle this
- cmd: tools\ci\appveyor_install_git-annex.bat

Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/test_remodnav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Ubuntu-test
on: [pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up system and environment
shell: bash
run: |
bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
sudo apt-get update -qq
sudo eatmydata apt-get install --no-install-recommends git-annex-standalone aria2 git-remote-gcrypt lsof gnupg nocache
sudo eatmydata apt-get install pandoc
cd ..; pip install -q codecov; cd -
git config --global user.email "test@github.land"
git config --global user.name "GitHub Almighty"
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
shell: bash
run: |
pip install -r requirements-devel.txt
python setup.py build
pip install -e .
- name: WTF
shell: bash
run: |
datalad wtf
- name: Run tests
shell: bash
run: |
PATH=$PWD/tools/coverage-bin:$PATH
python -m pytest -s -v --cov=remodnav --cov-report=term-missing .
45 changes: 0 additions & 45 deletions .travis.yml

This file was deleted.

0 comments on commit f255bdb

Please sign in to comment.