mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-16 07:55:54 +00:00
Update actions
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -13,17 +13,10 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python: ["3.10", "3.11"]
|
python: ["3.10"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - name: Setup upterm session
|
|
||||||
# uses: lhotari/action-upterm@v1
|
|
||||||
# with:
|
|
||||||
# ## limits ssh access and adds the ssh public key for the user which triggered the workflow
|
|
||||||
# limit-access-to-actor: true
|
|
||||||
# ## limits ssh access and adds the ssh public keys of the listed GitHub users
|
|
||||||
# limit-access-to-users: rmontanana
|
|
||||||
- name: Set up Python ${{ matrix.python }}
|
- name: Set up Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
@@ -49,10 +42,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -q --upgrade pip
|
pip install -q --upgrade pip
|
||||||
pip install -q -r requirements.txt
|
pip install -q -r requirements.txt
|
||||||
pip install -q --upgrade codecov coverage black flake8 flit
|
pip install -q --upgrade codecov coverage black flake8
|
||||||
git clone https://github.com/Doctorado-ML/bayesclass.git
|
git clone https://github.com/Doctorado-ML/bayesclass.git
|
||||||
cd bayesclass
|
|
||||||
flit install -s
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: |
|
run: |
|
||||||
black --check --diff benchmark
|
black --check --diff benchmark
|
||||||
|
Reference in New Issue
Block a user