Skip to content

Update artifact actions from v3 to v4 #45

Update artifact actions from v3 to v4

Update artifact actions from v3 to v4 #45

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Specify your Python version here
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Install sympy and mathematics_dataset with specific versions first
pip install --no-deps sympy==1.6.2
pip install --no-deps mathematics_dataset==1.0
# Install remaining dependencies
pip install -r requirements.txt
pip install pytest pytest-cov
pip install -e .
- name: Run tests
run: |
python -m pytest
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-results
path: pytest-results.xml