Skip to content

Commit

Permalink
add extended tests, delete release drafter as it did not properly work
Browse files Browse the repository at this point in the history
  • Loading branch information
s3alfisc committed Mar 8, 2025
1 parent ebc9585 commit 932852e
Show file tree
Hide file tree
Showing 6 changed files with 3,864 additions and 3,787 deletions.
38 changes: 0 additions & 38 deletions .github/release-config.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/extended_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Extended Tests (Optional)

on:
workflow_dispatch:
schedule:
- cron: '30 12 * * 6' # Runs every Saturday at 12:30 UTC (13:30 CET, 14:30 CEST in summer)
jobs:
extended_tests:
runs-on: ubuntu-latest


steps:
- name: Checkout source
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.41.4
cache: true

- name: set numba parallel flags
run: echo "NUMBA_NUM_THREADS=1" >> $GITHUB_ENV

- name: Setup r2u
uses: eddelbuettel/github-actions/r2u-setup@master

- name: Print R version
run: Rscript -e 'R.version'

- name: Install R packages
run: |
R_LIB_PATH="${{ github.workspace }}/.pixi/envs/dev/lib/R/library"
mkdir -p $R_LIB_PATH
Rscript -e ".libPaths('$R_LIB_PATH'); install.packages(c('fixest', 'broom','did2s', 'wildrwolf', 'ivDiag', 'car'), lib='/home/runner/work/pyfixest/pyfixest/.pixi/envs/dev/lib/R/library')"
Rscript -e ".libPaths('$R_LIB_PATH'); install.packages('ritest', lib='/home/runner/work/pyfixest/pyfixest/.pixi/envs/dev/lib/R/library', repos = c('https://grantmcdermott.r-universe.dev'))"
- name: Run long tests with coverage
run: |
pixi r tests-extended
- name: Upload coverage to Codecov (partial)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
flags: extended
partial: true
24 changes: 0 additions & 24 deletions .github/workflows/release-drafter.yml

This file was deleted.

Loading

0 comments on commit 932852e

Please sign in to comment.