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

Commit

Permalink
Refactor for batch rucio ops
Browse files Browse the repository at this point in the history
  • Loading branch information
BenGalewsky committed Mar 1, 2020
1 parent c0ae8d8 commit 8ff4bc1
Show file tree
Hide file tree
Showing 17 changed files with 702 additions and 706 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
branch = True
source =
src/
13 changes: 13 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[flake8]
max-line-length = 99
exclude =
.tox,
__pycache__
validate_requests.py
find_m.py
messaging.py
.local
build
migrations


30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,37 @@ on:
pull_request:

jobs:
test:
strategy:
matrix:
python-version: [3.7, 3.8]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
python -m pip install -r requirements_test.txt
pip list
- name: Lint with Flake8
run: |
flake8
- name: Test with pytest
run: |
PYTHONPATH=./src:$PYTHONPATH coverage run -m pytest -r sx
- name: Report coverage with Codecov
if: github.event_name == 'push'
run: |
codecov --token=${{ secrets.CODECOV_TOKEN }}
publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand Down
196 changes: 0 additions & 196 deletions request_lookup.py

This file was deleted.

Loading

0 comments on commit 8ff4bc1

Please sign in to comment.