Skip to content

requirements.txt -> pyproject.toml #258

requirements.txt -> pyproject.toml

requirements.txt -> pyproject.toml #258

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: config
run:
git config --global init.defaultBranch master
- name: Cache Venvs
uses: actions/cache@v4
with:
path: |
build/*.txt
key: ${{ runner.OS }}-venv-cache-${{ hashFiles('requirements/*.txt', 'setup.py', 'Makefile*') }}
restore-keys: |
${{ runner.OS }}-venv-cache-${{ hashFiles('requirements/*.txt', 'setup.py', 'Makefile*') }}
- name: make venvs
run:
if [[ -e build/envs.txt ]]; then touch build/envs.txt; fi;
if [[ -e build/deps.txt ]]; then touch build/deps.txt; fi;
make venvs
- name: make lint
run: make lint
- name: make mypy
run: make mypy
- name: make test
run: make test
- name: make test_compat
run: make test_compat
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: config
run:
git config --global init.defaultBranch master
- name: Cache Venvs
uses: actions/cache@v4
with:
path: |
build/*.txt
key: ${{ runner.OS }}-venv-cache-${{ hashFiles('requirements/*.txt', 'setup.py', 'Makefile*') }}
restore-keys: |
${{ runner.OS }}-venv-cache-${{ hashFiles('requirements/*.txt', 'setup.py', 'Makefile*') }}
- name: brew install mercurial
run: brew install mercurial
- name: make venvs
run:
if [[ -e build/envs.txt ]]; then touch build/envs.txt; fi;
if [[ -e build/deps.txt ]]; then touch build/deps.txt; fi;
make venvs
- name: make lint
run: make lint
- name: make mypy
run: make mypy
- name: make test
run: make test