Skip to content

Commit

Permalink
revert to old wq tests, update wq test to use py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored and ikrommyd committed Nov 19, 2024
1 parent f88585b commit 1a11637
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1a11637

Please sign in to comment.