diff options
| author | adamjanovsky | 2021-04-23 11:22:58 +0200 |
|---|---|---|
| committer | GitHub | 2021-04-23 11:22:58 +0200 |
| commit | ff4d0be5ecf775291e6c13318b4ca54b58d694c5 (patch) | |
| tree | bb42ff5f9f6ac602e3e314f905daedacb6d9ec6d | |
| parent | 636b6e456476a18fafdd7cd8d56ad2770f563f2a (diff) | |
| parent | 88707e8abf413a9c22d3bf4191354777225d0403 (diff) | |
| download | sec-certs-ff4d0be5ecf775291e6c13318b4ca54b58d694c5.tar.gz sec-certs-ff4d0be5ecf775291e6c13318b4ca54b58d694c5.tar.zst sec-certs-ff4d0be5ecf775291e6c13318b4ca54b58d694c5.zip | |
Merge pull request #61 from crocs-muni/leo/Actions
Switching from Travis CI to GitHub Actions
| -rw-r--r-- | .github/workflows/GA_CI.yml | 22 | ||||
| -rw-r--r-- | .travis.yml | 13 |
2 files changed, 22 insertions, 13 deletions
diff --git a/.github/workflows/GA_CI.yml b/.github/workflows/GA_CI.yml new file mode 100644 index 00000000..3239468f --- /dev/null +++ b/.github/workflows/GA_CI.yml @@ -0,0 +1,22 @@ +name: tests +on: [push] + + +jobs: + run-test: + runs-on: ubuntu-latest + steps: + - run: sudo apt-get install poppler-utils + - uses: actions/checkout@v2 + - name : Setup python + uses: actions/setup-python@v2 + with: + python-version: '3.8' + - 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 + pip install ".[dev,test]" + pytest test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e67232e0..00000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -os: linux -language: python -dist: xenial -python: "3.8" - -before_install: - - sudo apt-get -y install poppler-utils - -install: - - pip install ".[dev,test]" - -script: - - pytest test |
