2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-26 04:33:42 +01:00

Add test runs on GitHub Actions

This commit is contained in:
Jan Brasna 2024-07-08 18:06:31 +02:00 committed by GitHub
parent 5866911b62
commit d84b4bb23d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 28 additions and 5 deletions

27
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: cipherscan
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Test Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install six
- name: Scan
run: |
./cipherscan example.org

View File

@ -1,4 +0,0 @@
dist: trusty
language: python
script:
- ./cipherscan google.com

View File

@ -1,7 +1,7 @@
CipherScan
==========
[![Build Status](https://travis-ci.org/mozilla/cipherscan.svg?branch=master)](https://travis-ci.org/mozilla/cipherscan)
[![CI](https://github.com/mozilla/cipherscan/actions/workflows/test.yml/badge.svg)](https://github.com/mozilla/cipherscan/actions/workflows/test.yml)
![cipherscan](https://pbs.twimg.com/media/CPbjvCFW8AAnUK3.png:large)