diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d5eacd..7ce990b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Linux tests +name: CI on: push: {branches: [master]} @@ -31,18 +31,14 @@ jobs: wget "http://bitly-downloads.s3.amazonaws.com/nsq/${{matrix.nsq_dl}}.tar.gz" tar zxvf "${{matrix.nsq_dl}}.tar.gz" ./${{matrix.nsq_dl}}/bin/nsqd --version - - name: Install Snappy + - name: Install System Dependencies run: | - git clone https://github.com/google/snappy.git - cd snappy - git checkout 1.1.8 - CFLAGS="-fPIC" CXXFLAGS="-fPIC" \ - cmake -DCMAKE_INSTALL_PREFIX="/usr/local" - make install - cd .. + apt-get -q -y update + apt-get -q -y install libsnappy-dev - name: Install Python Dependencies run: | - pip install python-snappy pycurl pytest==4.4.2 flake8==3.7.9 tornado=${{matrix.tornado_ver}} + pip install python-snappy pycurl mock pytest==4.4.2 flake8==3.7.9 \ + tornado==${{matrix.tornado_ver}} - name: Lint run: | flake8 --version