diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index e9c4a30..0000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: Tests - -on: - pull_request: - branches: [ main ] - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - lfs: false - # NOTE to save on bandwidth costs, GitHub Action will not use GitHub's own LFS - - - name: Fetch test-data - # NOTE to save on bandwidth costs, pull data from BSSE's GitLab LFS instead - run: | - git config --file .lfsconfig lfs.url "https://git.bsse.ethz.ch/cbg/viruses/lollipop.git/info/lfs" - git lfs install - git lfs pull - git lfs checkout - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - - name: Install Poetry - uses: snok/install-poetry@v1 - - - name: Build package - run: | - poetry install --extras "cli" - poetry build - - - name: Test package - run: | - poetry run pytest -v - - - name: Lint package - run: poetry run black --check --diff . - - - name: Archive test output - uses: actions/upload-artifact@v3 - with: - name: test_curves - path: | - test_results.* - if-no-files-found: error