PyFixest 0.10.8: More flexible DID2s support #373
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install | |
run: | | |
pip install -e . | |
pip install -r requirements_test_ci.txt | |
- name: set numba parallel flags | |
run: | | |
echo "NUMBA_NUM_THREADS=1" >> $GITHUB_ENV | |
- name: Setup R | |
uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: '4.2.0' | |
- name: install fixest and broom for testing | |
run: Rscript -e 'install.packages(c("fixest", "broom", "did2s"), repos="https://cloud.r-project.org")' | |
shell: bash | |
- name: Run tests | |
run: pytest tests/test_errors.py tests/test_formulas.py tests/test_plots.py tests/test_poisson.py tests/test_predict_resid_fixef.py tests/test_ses.py tests/test_ssc.py tests/test_vs_fixest.py | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |