Skip to content

Commit

Permalink
Merge pull request #94 from christopher-mohr/update_actions
Browse files Browse the repository at this point in the history
update git hub actions versions
  • Loading branch information
christopher-mohr authored Nov 30, 2023
2 parents 6416217 + 4c84a4c commit 52b9387
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install utilities
run: sudo apt-get install -y mmv
- name: Set up Python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install pypa/build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-test-conda-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: epytope
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: kohlbacherlab/fred-tools
token: ${{ secrets.FRED_CI_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set conda package directory
run: |
mkdir /tmp/condapkgs
Expand Down
5 changes: 4 additions & 1 deletion epytope/test/TestSpacerDesign.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ def test_standart_functions(self):
sbws = EpitopeAssemblyWithSpacer(self.epis, cl_pred, epi_pred, self.alleles, solver="glpk")
sol = sbws.solve()
print(sol)
assert all(i == str(j) for i, j in zip(["GHRMAWDM", "WWQW", "VYEADDVI"], sol))
test1 = all(i == str(j) for i, j in zip(["GHRMAWDM", "WWQW", "VYEADDVI"], sol))
test2 = all(i == str(j) for i, j in zip(["GHRMAWDM", "WWRW", "VYEADDVI"], sol))

assert (test1 or test2)

def test_unsupported_allele_length_combination(self):
"""
Expand Down

0 comments on commit 52b9387

Please sign in to comment.