[FIX] change name of default branch in CI workflows #301
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Python package | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
# TODO update to install from the latest version on reproschema | |
# once https://github.com/ReproNim/reproschema-py/pull/40 has been merged and a new release has been made. | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install git+https://github.com/Remi-Gau/reproschema-py.git@skip | |
- name: Test with pyshacl | |
run: | | |
python scripts/jsonParser.py | |
reproschema validate examples | |
- name: Make a release | |
run: | | |
python scripts/makeRelease.py ci-release | |
pip install pytablewriter | |
python scripts/editProperties.py ci-release |