Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 29 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,34 +189,35 @@ jobs:
file: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}

snowflake:
if: ${{ contains(github.event.pull_request.labels.*.name, 'snowflake') || contains(github.event.pull_request.labels.*.name, 'ready') || github.ref == 'refs/heads/main' }}
name: "Snowflake"
runs-on: ubuntu-latest
env:
SNOWFLAKE_USER: DATAJUDGE
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
strategy:
fail-fast: false
matrix:
env:
- snowflake-py38
steps:
- name: Checkout branch
uses: actions/checkout@v5
- name: Set up pixi
uses: prefix-dev/setup-pixi@v0.9.3
with:
environments: ${{ matrix.env }}
- run: |
pixi run -e ${{ matrix.env }} postinstall
pixi run -e ${{ matrix.env }} coverage --color=yes
- name: Generate code coverage report
uses: codecov/codecov-action@v5.5.1
with:
file: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
# We are currently experiencing issues with our Snowflake account.
# snowflake:
# if: ${{ contains(github.event.pull_request.labels.*.name, 'snowflake') || contains(github.event.pull_request.labels.*.name, 'ready') || github.ref == 'refs/heads/main' }}
# name: "Snowflake"
# runs-on: ubuntu-latest
# env:
# SNOWFLAKE_USER: DATAJUDGE
# SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
# SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
# strategy:
# fail-fast: false
# matrix:
# env:
# - snowflake-py38
# steps:
# - name: Checkout branch
# uses: actions/checkout@v5
# - name: Set up pixi
# uses: prefix-dev/setup-pixi@v0.9.3
# with:
# environments: ${{ matrix.env }}
# - run: |
# pixi run -e ${{ matrix.env }} postinstall
# pixi run -e ${{ matrix.env }} coverage --color=yes
# - name: Generate code coverage report
# uses: codecov/codecov-action@v5.5.1
# with:
# file: ./coverage.xml
# token: ${{ secrets.CODECOV_TOKEN }}

# The authentication of these tests is currently failing.
# These tests should be reenabled asap.
Expand Down
Loading