Skip to content

Commit

Permalink
Chore: Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
speedcell4 committed Feb 25, 2024
1 parent 90c4043 commit ba23b8b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@ on:
types: [ created ]

jobs:
deploy:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install pip setuptools wheel --upgrade
python -m pip install --upgrade pip setuptools wheel
python -m pip install twine
- name: Build and publish
env:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,19 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install pip --upgrade
python -m pip install -r requirements.txt
python -m pip install git+https://github.com/speedcell4/torchrua.git@develop --force-reinstall --no-deps
python -m pip install pytest hypothesis torchnyan
python -m pip install git+https://github.com/speedcell4/torchrua.git@develop --force-reinstall --no-deps
python -m pip install pytorch-crf torch-struct
- name: Test with pytest
run: |
Expand Down

0 comments on commit ba23b8b

Please sign in to comment.