Add allowed_attrs to EvalWithCompoundTypes too #119
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] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: '3.10' | |
- name: Install dev dependencies | |
run : | | |
pip install -r requirements/dev.txt | |
- name: Lint | |
run: | | |
make lint | |
- name: Build & check sdist & wheel | |
run: | | |
make dist/ | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
python: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
- 'pypy-3.9' | |
- 'pypy-3.10' | |
env: | |
OS: ${{ matrix.os }} | |
PYTHON: ${{ matrix.python }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python }} | |
allow-prereleases: true | |
- name: Generate Report | |
run: | | |
pip install coverage | |
coverage run -m test_simpleeval | |
coverage xml | |
- name: Upload to codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
files: coverage.xml | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |