Ver código fonte

minimize collateral

justheuristic 4 anos atrás
pai
commit
d41789ab14
2 arquivos alterados com 0 adições e 51 exclusões
  1. 0 13
      .github/workflows/check_style.yml
  2. 0 38
      .github/workflows/run-tests.yml

+ 0 - 13
.github/workflows/check_style.yml

@@ -1,13 +0,0 @@
-name: Check style
-
-on: [ push ]
-
-jobs:
-  black:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-      - uses: psf/black@stable
-        with:
-          options: "--check"
-          version: "21.6b0"

+ 0 - 38
.github/workflows/run-tests.yml

@@ -1,38 +0,0 @@
-name: Tests
-
-on: [ push ]
-
-
-jobs:
-  run_tests:
-
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        python-version: [ 3.7, 3.8, 3.9 ]
-        attempt: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
-      fail-fast: false
-    timeout-minutes: 15
-    steps:
-      - uses: actions/checkout@v2
-      - name: Set up Python
-        uses: actions/setup-python@v2
-        with:
-          python-version: ${{ matrix.python-version }}
-      - name: Cache dependencies
-        uses: actions/cache@v2
-        with:
-          path: ~/.cache/pip
-          key: Key-v1-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}
-      - name: Install dependencies
-        run: |
-          python -m pip install --upgrade pip
-          pip install -r requirements.txt
-          pip install -r requirements-dev.txt
-      - name: Build hivemind
-        run: |
-          pip install .
-      - name: Test
-        run: |
-          cd tests
-          pytest --durations=0 --durations-min=1.0 -v