aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorLéo Vansimay2021-04-20 11:19:14 +0200
committerGitHub2021-04-20 11:19:14 +0200
commit4770f7d4aa81235d6053ede19e46a90004af61ca (patch)
treed2947a6fb62c4d78aba7ad850c661e26c652851b /.github
parenta89f2858a5265f693dee09f685011c90f3e0c9bf (diff)
downloadsec-certs-4770f7d4aa81235d6053ede19e46a90004af61ca.tar.gz
sec-certs-4770f7d4aa81235d6053ede19e46a90004af61ca.tar.zst
sec-certs-4770f7d4aa81235d6053ede19e46a90004af61ca.zip
Create GA_CI.yml
First attempt to use GitHub actions instead of Travis CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/GA_CI.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/GA_CI.yml b/.github/workflows/GA_CI.yml
new file mode 100644
index 00000000..1a3231e5
--- /dev/null
+++ b/.github/workflows/GA_CI.yml
@@ -0,0 +1,24 @@
+name: tests
+on:
+ push:
+ branches:
+ - master
+ - dev
+
+jobs:
+ name: Set env up
+ runs-on: ubuntu-latest
+ steps:
+ - run: apt-get install poppler-utils
+ - uses: actions/checkout@v2
+ - name : Setup python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.x'
+ - name: Install python dependencies
+ run: pip install -r requirements.txt
+ - name : Install pytest and run scripts like Travis does
+ run: |
+ pip install pytest
+ pip install pytest-cov
+ pytest test