diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13421316f..98ed919be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,33 +136,31 @@ jobs: env: GH_PAT: ${{ secrets.GITHUB_OAUTH }} - test-vine: + testwq: runs-on: ubuntu-latest - needs: pre-commit + needs: linter strategy: matrix: python-version: ["3.11"] - name: test coffea-taskvine + name: test coffea-workqueue + steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Set up Conda - uses: conda-incubator/setup-miniconda@v3 - env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: true + uses: conda-incubator/setup-miniconda@v2.2.0 with: auto-update-conda: true python-version: ${{ matrix.python-version }} - channels: conda-forge - - name: Construct conda environment + - name: Test work_queue shell: bash -l {0} run: | - conda create --yes --prefix ./coffea-conda-test-env -c conda-forge python=${{ matrix.python-version }} ndcctools uv - conda activate ./coffea-conda-test-env - uv pip install --system . - uv pip install --system pytest - - name: Test with pytest - run: | - conda run --prefix ./coffea-conda-test-env pytest tests/test_taskvine.py + conda create --yes --name coffea-env -c conda-forge python=${{ matrix.python-version }} ndcctools dill conda-pack conda + conda activate coffea-env + python -m pip install --ignore-installed . + cd tests + conda-pack --output coffea-env.tar.gz + python wq.py coffea-env.tar.gz + # testskyhookjob: # runs-on: ubuntu-latest @@ -188,7 +186,7 @@ jobs: release: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest - needs: [test, test-vine] + needs: [test, testwq] permissions: id-token: write attestations: write