Skip to content

Commit

Permalink
use published riot and do not ignore requirements locks
Browse files Browse the repository at this point in the history
  • Loading branch information
emmettbutler committed Jun 24, 2024
1 parent e74b021 commit 8e47d28
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- name: Install Riot
run: pip install .
run: pip install riot
- run: riot -v run -s black -- --check .
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- name: Install Riot
run: pip install .
run: pip install riot
- run: riot -v run -s mypy
docs:
runs-on: ubuntu-latest
Expand All @@ -33,9 +33,9 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- name: Install Riot
run: pip install .
run: pip install riot
- run: riot -v run docs
- uses: actions/upload-artifact@v2
with:
Expand All @@ -47,9 +47,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'
- name: Install Riot
run: pip install .
run: pip install riot
- run: riot -v run -s flake8
test:
strategy:
Expand All @@ -65,7 +65,7 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install Riot
run: pip install .
run: pip install riot
- name: Run tests
run: riot -v run --python=${{ matrix.python-version }} test
- name: Coverage
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pip-delete-this-directory.txt
target/

# Riot
.riot/
.riot/venv*

# Pycharm
.idea
.idea
2 changes: 2 additions & 0 deletions .riot/requirements/b475ede.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mypy
pytest
15 changes: 15 additions & 0 deletions .riot/requirements/b475ede.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --no-annotate .riot/requirements/b475ede.in
#
exceptiongroup==1.2.1
iniconfig==2.0.0
mypy==1.10.0
mypy-extensions==1.0.0
packaging==24.1
pluggy==1.5.0
pytest==8.2.2
tomli==2.0.1
typing-extensions==4.12.2

0 comments on commit 8e47d28

Please sign in to comment.