Skip to content

Bump cffi from 1.15.1 to 1.16.0 #315

Bump cffi from 1.15.1 to 1.16.0

Bump cffi from 1.15.1 to 1.16.0 #315

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- '**'
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up python
uses: actions/setup-python@v1
with:
python-version: '3.9'
- name: Update apt
run: sudo apt-get update
- name: install dependencies
run: |
sudo apt install systemd clamav clamav-daemon
sudo systemctl stop clamav-daemon.service
sudo rm /var/log/clamav/freshclam.log
sudo systemctl start clamav-daemon.service
sudo freshclam
sudo service clamav-daemon restart
sudo freshclam
make install
pip freeze
- name: lint
run: make lint
- name: Wait for clamd service to start
uses: jakejarvis/wait-action@v0.1.0
with:
time: '120s'
- run: sudo service clamav-daemon status
- name: test
run: make test
- name: codecov
run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: 'ee51eef9-8de5-4855-9be4-a5cf55257a73'
deploy:
needs:
- test
if: "success() && startsWith(github.ref, 'refs/tags/')"
runs-on: ubuntu-latest
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP: tc-virus-checker
steps:
- uses: actions/checkout@v2
- run: git fetch --unshallow
- run: git switch master
- run: git remote add heroku https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP.git
- run: git push heroku master