8000 Change default reduction in SystemEquation (#317) · ZahraMirzaiyan/PINA@16261c9 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Monthly Automated Tag #6

Monthly Automated Tag

Monthly Automated Tag #6

Workflow file for this run

name: Monthly Automated Tag on: schedule: - cron: '20 2 1 * *' jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: | python3 -m pip install --upgrade pip python3 -m pip install .[test] - name: Test with pytest run: | python3 -m pytest monthly_tag: runs-on: ubuntu-latest needs: test steps: - uses: actions/checkout@v2 with: token: ${{ secrets.NDEMO_PAT_TOKEN }} - name: Create and push the tag run: | python utils/mathlab_versioning.py set --only-date "post$(date +%y%m)" VERS=$(python utils/mathlab_versioning.py get) git config --global user.name 'Monthly Tag bot' git config --global user.email 'mtbot@noreply.github.com' git add pina/meta.py git commit -m "monthly version $VERS" git tag -a "v$VERS" -m "Monthly version $VERS" git push origin "v$VERS"
0