Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed Oct 22, 2021
1 parent ca8c21c commit 0af9ac0
Show file tree
Hide file tree
Showing 49 changed files with 3,675 additions and 5,124 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,38 @@
name: ci

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, "3.10"]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install requirements
run: pip install -r requirements.txt

- name: Lint
run: make lint

- name: Coverage
run: make coverage

- name: CLI test
run: ./test/cli_example.sh

- name: Coveralls
if: matrix.python-version == '3.10'
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

7 changes: 2 additions & 5 deletions Makefile
Expand Up @@ -20,7 +20,7 @@ docs: build_docs
.PHONY: build_docs
build_docs:
cd docs && make html
pandoc -t rst README.md | sed -e '1,1s/^[^\\]*//' -e '2d' > README.rst
pandoc -t rst README.md | sed -e '1,1s/^[^|]*//' -e '2d' > README.rst

.PHONY: lint
lint:
Expand All @@ -36,7 +36,7 @@ run_test: export HASH3=sha256:$(shell sha256sum test/fixtures/blob3 | cut -d ' '
run_test: export HASH4=sha256:$(shell sha256sum test/fixtures/blob4 | cut -d ' ' -f1)
run_test: export REQUESTS_CA_BUNDLE=test/ca.pem
run_test:
py.test -s --instafail $(test_args) #test/test_cli.py -m onlytest
py.test -s $(test_args) #test/test_cli.py -m onlytest

coverage: $(fixtures) run_coverage

Expand All @@ -62,9 +62,6 @@ $(registry_certs): $(ca_certs)
$(auth_certs): $(ca_certs)
openssl req -new -nodes -newkey rsa:4096 -sha256 -keyout test/auth/auth.key -subj "/CN=localhost/" | openssl x509 -req -extfile <(echo subjectAltName=DNS:localhost) -days 365 -CA test/ca.pem -CAkey test/ca.key -CAcreateserial -out test/auth/auth.pem

.PHONY: travis_test
travis_test: lint coverage

.PHONY: delete_certs
delete_certs:
rm $(registry_certs) $(auth_certs) $(ca_certs)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
@@ -1,4 +1,4 @@
\ |Build Status| |Coverage Status| |PyPI version|
|Build Status| |Coverage Status| |PyPI version|

Docker registry bindings for `The Update
Framework <http://theupdateframework.com/>`__ in Python. Uses
Expand Down
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: f7c51cf85056db3091e30bd158a1c828
config: 71cff62af5edb8ca7824dd000811cf44
tags: 645f666f9bcd5a90fca523b33c5a78b7
31 changes: 0 additions & 31 deletions docs/_build/html/_sources/index.txt

This file was deleted.

Binary file removed docs/_build/html/_static/ajax-loader.gif
Binary file not shown.

0 comments on commit 0af9ac0

Please sign in to comment.